Jump to content

capcom

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by capcom

  1. @Krydos is it possible to replace the ssl that you installed with new one for helium.hiker.rocks ssl I just generated? currently hiker.rocks redirects to helium.hiker.rocks only and I did not realize sub domain would not be covered.

    I put the file in same location

    Site name: Helium.Hiker.Rocks

    User name: capcom

    Directory with new ssl cert: /home/capcom/new_ssl_cert

    File name: helium.hiker.rocks.zip

    Thanks.

     

  2. I am using python flask and have added rate limiting already and once reached, it will not load data and will just give a "Rate limit applied" message. That part has been working fine. 

     

    Most of the unwanted traffic is coming as Mozilla browser, operating system is unknown in Awstats, but I have a feeling it is a web scrapper. even after rate limit message, user is keep requesting same url.

  3. Thanks for the response. I am using the IP blocks to deny access. and keep adding new ones there.

     

    My only concern is around load, but when I look at account load in cPanel, it is not significant at all (almost near 0 every day). I just want to make sure that increase in traffic does not cause my account to be flagged.

  4. I am getting unusually high request from few IPs and wanted to see if there is a way I can rate limit IP address by making a change in .htaccess file. I am able to block the IPs in a day, but it it making unnecessary calls to website. and they keep coming from new IP addresses.

     

    any suggestions are welcome.

    Thanks

  5. Hello, I am working on discord bot(https://wiki.helionet.org/tutorials/discord-bot#starting-and-stopping-your-bot) and created files inside my cgi-bin directory.

     

    but when I try to access from browser, it is giving me 404 error.  I think it has to do with htaccess but want to see if I can only open up cgi-bin folder with a command?

     

    here is my htaccess file

     

    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>
     
    IndexIgnore *
     
    RewriteEngine On
    RewriteBase /
    RewriteRule ^(media/.*)$ - [L]
    RewriteRule ^(admin_media/.*)$ - [L]
    RewriteRule ^(flask\.wsgi/.*)$ - [L]
    RewriteRule ^(.*)$ flask.wsgi/$1 [QSA,PT,L]
     

     

     

    Thanks for the help.

  6. Thanks. After few tries I decided to add redirect on my site, but found this better option.  

     

    This link help me fix the issue.

    https://serversitters.com/cpanel-redirects-not-redirecting.html#:~:text=To%20fix%20this%2C%20after%20you,should%20work%20without%20any%20issues.

     

    If you have setup a redirect using the Redirects icon in cPanel, it may not always work.  The reason for this is that the redirect icon will create the rule for the redirect in the .htaccess, but it will place this new rule at the bottom of the file.  So if you have any other redirects happening ahead of the new rule that conflict with the new rule, then the new redirect just won’t work.

    To fix this, after you have created the redirect, you need to find it in your .htaccess.  Move the lines to the top of the .htaccess file, then re-save it, and now the redirect should work without any issues.

×
×
  • Create New...