MyBB Community Forums

Full Version: .htaccess help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Stackoverflow has (kinda) failed me. I am absolutely horrendous with .htaccess and this has been bothering me for some time. Can anyone help me out?

http://stackoverflow.com/questions/54949...bdirectory
Try this:

RewriteRule ^storage/new/welcome/$ index.php?action=welcome [L,QSA]
RewriteRule ^storage/new/page/(.*)/$ index.php?action=page&url=$1 [L,QSA]
RewriteRule ^storage/new/post/(.*)/$ index.php?action=post&url=$1 [L,QSA]
(2011-04-01, 02:14 AM)Malcolm. Wrote: [ -> ]Try this:

RewriteRule ^storage/new/welcome/$ index.php?action=welcome [L,QSA]
RewriteRule ^storage/new/page/(.*)/$ index.php?action=page&url=$1 [L,QSA]
RewriteRule ^storage/new/post/(.*)/$ index.php?action=post&url=$1 [L,QSA]

No dice. Sad I'm at my wit's end with this; nothing seems to work.
(2011-04-01, 02:20 AM)Steven Wrote: [ -> ]...
No dice. Sad I'm at my wit's end with this; nothing seems to work.

Try here, you might get the solution:
http://www.sitepoint.com/forums/apache-c...ration-199

Apparently .htaccess treats its path as root, so all I had to do was remove storage/new/ from the rules. Everything works now! Thanks for you help.
There is always a solution. Smile