JPERKS1985
asked on
.htaccess file/mod rewrite problem
I've made an .htaccess file and put it in with the main html
Options +FollowSymLinks
RewriteEngine on
RewriteRule /evid/(.*) /Results.php?evid=$1
When I try to request http://localhost/evid/23234
It returns a not found error. Permissions are set to apache read, root read/write. I've spent an hour trying to figure out whats wrong. I have restarted the server each time I'd modify the htaccess file to be safe. Whats wrong?
Options +FollowSymLinks
RewriteEngine on
RewriteRule /evid/(.*) /Results.php?evid=$1
When I try to request http://localhost/evid/23234
It returns a not found error. Permissions are set to apache read, root read/write. I've spent an hour trying to figure out whats wrong. I have restarted the server each time I'd modify the htaccess file to be safe. Whats wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great! i got it, thanks alot.
L=last, this stopps the rewriting process immediately (for this round, there will be a re-processing of nearly all modules with the URL /Results.php).
ASKER