Clean URL's?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Clean URL's?

Postby daffyd » 03. May 2010 10:16

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 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", "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.
Posts: 1
Joined: 03. May 2010 10:04

Re: Clean URL's?

Postby JonB » 04. May 2010 03:50

User avatar
AF Moderator
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 59 guests