troubleshooting Question

.htaccess file/mod rewrite problem

Avatar of JPERKS1985
JPERKS1985 asked on
Apache Web Server
4 Comments1 Solution328 ViewsLast Modified:
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?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros