Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : YOURLS .htaccess problem



Threaded Mode | Print  

 YOURLS .htaccess problem, Looks like your default htaccess is wrong. (1 Replies, Read 4668 times)
harvest316
Group: Member
Post Group: Newbie
Posts: 1
Status:
I get an error 500 after installing YOURLS in the root of a clean addon domain, for both the root and /admin/ folder.

My error log is saying "RewriteBase takes one argument, the base URL of the per-directory context" to your default .htaccess file.

If I add the obvious slash to the end of the 4th line (please fix)...

Quote
# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /yourls-loader.php [L]
RewriteRule ^([0-9A-Za-z]+)/?$ /yourls-go.php?id=$1 [L]
RewriteRule ^([0-9A-Za-z]+)\+/?$ /yourls-infos.php?id=$1 [L]
RewriteRule ^([0-9A-Za-z]+)\+all/?$ /yourls-infos.php?id=$1&all=1 [L]
</IfModule>
# END YOURLS


...This stops the alerts in my error log, but I get "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects." for the root, and /admin/ just redirects to the root.

If I comment out the last 3 RewriteRules to mirror the official YOURLS .htaccess file, I get the proper admin login page, but the Login button just reloads the page.

I am running cPanel, FastCGI (not suPHP), AllowOverrides is On, and I have a varnish cache.
IP: --   

YOURLS .htaccess problem
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Can you please open a support ticket we will check this and resolve this asap.
http://www.softaculous.com/support


Edited by Brijesh : October 1, 2012, 2:05 pm

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 3:33 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.028