WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
i have problem with htaccess
Posted by:
kfir91
(---.red.bezeqint.net)
Date: July 08, 2009 05:59PM
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*),(.*)\.html$ index.php?name=$1&id=$2
RewriteRule (.*)\.html$ index.php?name=$1
this is my htaccess code
this is my link :
[
127.0.0.1
]
its not good...
without htaccess file the site work...
Options:
Reply
•
Quote
Re: i have problem with htaccess
Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
Date: July 08, 2009 07:28PM
Not understanding you but I think you need to enable mod_rewrite for your code to work.
When you install WAMP mod_rewrite is not enabled by default.
To enable this module left click the WAMP tray icon and select Apache > Apache Modules > rewrite module
Options:
Reply
•
Quote
Re: i have problem with htaccess
Posted by:
Georg
(---.adsl.cybercity.dk)
Date: July 08, 2009 08:31PM
I was able to follow this advice earlier today, but now the rewrite module has disappeared from the Apache Modules menu.
What can I do to get it back?
Options:
Reply
•
Quote
Re: i have problem with htaccess
Posted by:
yfastud
(Moderator)
Date: July 08, 2009 09:30PM
you can uncomment it in file httpd.conf
Have fun,
FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides
Options:
Reply
•
Quote
Re: i have problem with htaccess
Posted by:
Georg
(---.adsl.cybercity.dk)
Date: July 08, 2009 09:39PM
Thank you very much!
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login