troubleshooting Question

The requested URL was not found.. - url rewrite not working ?

Avatar of shtoom
shtoom asked on
PHPApache Web Server
18 Comments1 Solution1692 ViewsLast Modified:
I just installed a mini cms and I have added this site to my virtual host files. The base url is:

When I go to minicms.local in the browser I see the homepage correctly but when i click on a link thats past the index.php i got this browser message:
Not Found
The requested URL /whatson/ was not found on this server.

wth is going on?

I think it may have something to do with the .htaccess file in this site? because in the .htaccess file there is this:

RewriteRule ^whatson$ /whatson/ [R]
RewriteRule ^whatson/(template=([a-zA-Z]+))?$ /index.php?content=whatson&template=$2

If i go to the long url it works but the shorterned version doesnt?

basically this should work but doesnt:

instead i get this:
Not Found
The requested URL /whatson/ was not found on this server.

for some strange reason this link works and shows me the webpage correctly:

If anyone has any ideas why the minicms.local/whatson/ doesnt work please let me know!?

This is in my apache vhost file:
<VirtualHost *:80>
   DocumentRoot "M:\web\websites\minicms"
   ServerName minicms.local
Join our community to see this answer!
Unlock 1 Answer and 18 Comments.
Start Free Trial
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 18 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