Post Group: Working Member
Posts: 113
Status: 
|
Hi,
When I install YOURLS in a subfolder (i.e. http://www.mydomain.co.za/yourls), then the htaccess file is broken, is follow:
The problem lies in line 4:
PHP Code ======================================
# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
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
======================================
if installed in a subdomain it should say /yourls/
but if not, it should be like it is now, just a forward slash /
the original file had no slash and caused the internal server error because it didn't know where to go...
Edited by SoftDux : July 14, 2010, 11:06 am |