Pretty URLS and WAMP [SOLVED]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Pretty URLS and WAMP [SOLVED]

Post by hexdj »

I am trying a CMSMS website locally thru WAMP. I followed the Pretty URLs guide from the Wiki, as I have done a few other times (I've tried it on real servers though).

First off I was getting an error message saying:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.


So I went into to WAMP's config files>httpd.conf and changed this line

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All

Into this:

AllowOverride None

And the home page of my dummy site seems to work, also the address bar gets rewritten. But child pages are not showing, for example when I click on "How CMSMS Works" I get this message:

Not Found
The requested URL /dummysite/how-cmsms-works/ was not found on this server.



I think it's probably a setting in WAMP that I have to fix but I can't tell for sure. Any help will be appreciated. THANKS!
Last edited by hexdj on Tue Oct 09, 2007 3:57 am, edited 1 time in total.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Pretty URLS and WAMP [SOLVED]

Post by hexdj »

In case anyone else goes thru the same isssue, I found a solution

In WAMP>Config Files>httpd.conf

Go to this line and remove the pound sign (its commented by default):
#LoadModule rewrite_module modules/mod_rewrite.so

Also, you'll have to put AllowOverride back to All in httpd.conf

Don't forget to restart all WAMP services after you do this.

Then in your local .htaccess file, change the RewriteBase / line to RewriteBase /Your-Site-/

This will work if your local site's folder is  inside your localhost default folder
Last edited by hexdj on Tue Oct 09, 2007 5:52 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”