Page 1 of 1

Clean URL's?

PostPosted: 03. May 2010 10:16
by daffyd
Hi All,

I currently have a few websites but find it annoying to do all my testing in the background of a live site. Therefore I was told about many WAMP packages but was told that XAMPP is the best.

All of my website links use what I have been told to be clean URL's. Basically I have a page (about.php) and on my site people can just go to http://www.domain.com/about and it takes them there. Basically it ignores the file extension and goes there anyway.

I have tried to do this in XAMPP but I am failing. I always have to put in the file extension. I have been told and from reading that I need to do something with the rewrite rules. I have read many topic posts on forums with regards to getting these to work but nothing seems to work.

The only things I have in my .htaccess file is "Redirect /page http://www.domain.com/alternativepage", "ErrorDocument 404 /e_404.php"(This is just a custome looking error page) and "DirectoryIndex asc upgrade home index".

I have changed all of the "AllowOverride None" to "AllowOverride All" in httpd.conf and httpd-xampp.conf However nothing works.

If you go to the directory address (http://localhost/Web/) you just get a list of the contents. If you go to the home page/index (http://localhost/Web/asc) you get a 404 error, yet if you add the extension .php you get the home page.

What have I missed? Is there any other changes I need to make to allow these features?

Thanks for your help in advance.

Re: Clean URL's?

PostPosted: 04. May 2010 03:50
by JonB