Can we use .htaccess on localhost ??

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

Can we use .htaccess on localhost ??

Poll ended at 06. May 2008 06:35

Yes
5
71%
No
2
29%
 
Total votes : 7

Can we use .htaccess on localhost ??

Postby it-outsourcing » 27. January 2008 06:35

Hello friend,

I am new to xampp. Can some one please help me how to use htaccess on xampp, localhost.

Thanks
it-outsourcing
 
Posts: 1
Joined: 27. January 2008 06:30

Postby Scory » 27. January 2008 14:31

There is no difference for xampp on localhost or apache on any host - simply create file called ".htaccess" in any folder you need and enter the appropriate configuration.

Be sure that "AllowOverwrite" is set to "All" for that folder in httpd.conf
Scory
 

Postby nimd4 » 03. February 2008 10:09

Scory wrote:simply create file called ".htaccess"

...in Windows, Explorer will not allow it, right? So from the prompt ("cmd"), I use copy con, then F6, then ENTER & then I can edit the file with like Notepad++ or whatever. Any other way? :)

Image
User avatar
nimd4
 
Posts: 18
Joined: 20. September 2006 20:43

Postby Scory » 03. February 2008 10:26

Take any "real" texteditor (not Notepad) like "Textpad" or "Uedit", start it, enter some data and save with the name you like - for example ".htaccess".
Scory
 

Postby nimd4 » 03. February 2008 10:34

0k yeah, must've had a total brain lapse just now xD Tnx! :)
User avatar
nimd4
 
Posts: 18
Joined: 20. September 2006 20:43


Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 66 guests