Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : YOURLS in subfolder causing problems



Normal Mode | Print  

 YOURLS in subfolder causing problems (2 Replies, Read 4615 times)
SoftDux
Group: NOC
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=$[L]
RewriteRule ^([0-9A-Za-z]+)+/?$ /yourls-infos.php?id=$[L]
RewriteRule ^([0-9A-Za-z]+)+all/?$ /yourls-infos.php?id=$1&all=[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
IP: --   


Threads
 SoftDux   YOURLS in subfolder causing problems (2 Replies, Read 4615 times)
    |--  alons   Hi, Can you...   on July 15, 2010, 5:39 pm
    |--  SoftDux   Hi Alons, This...   on July 16, 2010, 6:16 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 1, 2025, 4:32 am.

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