.htaccess - redirect
Posted by: Robbie (---.pool.t-online.hu)
Date: March 14, 2007 12:32PM

I installed Apache Modules -> rewrite_module, and I have this in my .htaccess

RewriteEngine on
RewriteRule ^/$ /index.php [L]
RewriteRule ^/([A-Za-z0-9-]+)/?$ /index.php?page=$1 [L]

but nothing changed sad smiley

What's wrong?


Options: ReplyQuote
Re: .htaccess - redirect
Posted by: CyberSpatium (71.237.217.---)
Date: March 14, 2007 06:32PM

make sure mod_rewrite is enabled in your apache config httpd.conf file. after you enable it, save the file and restart apache for the new setting to take effect.

c:\wamp\apche2\conf\httpd.conf

CyberSpatium
----------------------
WAMP English Forum Admin


Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote
Re: .htaccess - redirect
Posted by: Robbie (---.pool.t-online.hu)
Date: March 15, 2007 07:09AM

Thanks, but I already remowed the pound ( # ) sign from the bigenning of the line and the .htaccess file in the /www/mysite/ directory.
Still nothing.
sad smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.