Jump to content

capcom

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by capcom

  1. It did work after I moved it after rewritebase. Had missed that earlier. Thanks.
  2. Thanks,I did try but didn't work. Gives same error. Does the placement of that rule matters? Also anything about permission, i have set as 755.
  3. 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,denydeny from all</Files> IndexIgnore * RewriteEngine OnRewriteBase /RewriteRule ^(media/.*)$ - [L]RewriteRule ^(admin_media/.*)$ - [L]RewriteRule ^(flask\.wsgi/.*)$ - [L]RewriteRule ^(.*)$ flask.wsgi/$1 [QSA,PT,L] Thanks for the help.
  4. 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.
  5. Will the URL will also show redirected domain link? I have a heliohost link ( subdomain.domain.heliohost.us ), but trying to redirect it to my new domain (subdomain.newdomain.com). both points to the same folder though. I setup about 2 hours ago, but when I got to my heliohost link, it is staying there only and not moving to my new domain without heliohost. see attached for my redirect setup.
  6. how much time does it take for redirect to take affect?
×
×
  • Create New...