Current Page: 1 of 1
Results 1 - 3 of 3
17 years ago
c1l1t
I'm very sure that I'm a real noob, anyway, my guess was right, it was because of infinite loop, now I partially got it to work: RewriteEngine on RewriteCond ${REQUEST_URI} !^/?public_html/ RewriteRule ^(.*)$ public_html/$1 Now the only problem is, every single link I clicked will have public_html in it, eg: localhost/site/public_html/register. Arrgh! Anyway, thanks for the link I'll check it o
Forum: WampServer English
17 years ago
c1l1t
I'm getting a 404 page when I used the absolute path, I tried to use: RewriteRule ^(.*)$ public_html/index.php And it works, but when I replace index.php with $1 I get the internal server error page. I have a feeling it's doing an infinite loop or something, I'll investigate more on this, thanks for the help though.
Forum: WampServer English
17 years ago
c1l1t
Hi, I have 2 folders in my wamp application folder, wamp/www/site/private and wamp/www/site/public_html I'm trying to redirect every single page to point to /public_html/*, here's my .htaccess: RewriteEngine on RewriteRule ^(.*)$ /public_html/$1 I put the .htacces in /site and /site/public_html, but for some reason, whenever I go to localhost/site/, I always get a "Not Found" page, s
Forum: WampServer English
Current Page: 1 of 1