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.
|