Softaculous


Topic : YOURLS .htaccess problem


Posted By: harvest316 on October 1, 2012, 1:27 pm
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.

Posted By: Brijesh on October 1, 2012, 2:03 pm | Post: 1
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

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.