Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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
Avatar of caterham_www
This problem has been solved!
Unlock 1 Answer and 18 Comments.
See Answers