.htacess how to config in xampp v5.6.3

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

.htacess how to config in xampp v5.6.3

Postby paravatee » 09. February 2015 11:06

Hi
I want redirect URL but I don't understand config file .htaccess on xampp v5.6.3
I'm very try and try but I don't know how to set in xampp
I search any web. but non work .
help me now! sstep by step to me!
Regrads,
paravatee
 
Posts: 4
Joined: 09. February 2015 11:01
Operating System: window 7

Re: .htacess how to config in xampp v5.6.3

Postby Nobbie » 09. February 2015 15:20

There is no difference in .htaccess for Xampp or any other Apache installation. Any tutorial about Rewrite will work for you. Use Google in order to find goog tutorials.
Nobbie
 
Posts: 8759
Joined: 09. March 2008 13:04

Re: .htacess how to config in xampp v5.6.3

Postby paravatee » 10. February 2015 03:07

please help me now! I beginner on this. please help me how to deploy file .htaccess to xampp.

I search google but can't config .htacess
please review and help me now!

Step 1. change value C:\xampp\apache\conf\httpd.conf
(#LoadModule rewrite_module modules/mod_rewrite.so -> LoadModule rewrite_module modules/mod_rewrite.so)
*Restart xampp
Step 2. open notepad create
RewriteEngine On
RewriteRule ^\.html$ /LAB/01/nusoap/android2.php [L]
save file .htaccess
step 3: deploy .htaccess to C:\xampp\htdocs\
*Restart xampp
step 4: run http://localhost/LAB/01/nusoap/android2.php but not redirect http://localhost/LAB/01/nusoap/android2.php to http://localhost/LAB/01/nusoap/android2/
What 's happend? why .htaccess doesn't redirect in this?
paravatee
 
Posts: 4
Joined: 09. February 2015 11:01
Operating System: window 7

Re: .htacess how to config in xampp v5.6.3

Postby Nobbie » 10. February 2015 12:33

paravatee wrote:RewriteRule ^\.html$ /LAB/01/nusoap/android2.php [L]


This is surely an invalid Rule, because "^\.html$" matches only one filename ".html" (no filename, only extension .html).

I cannot give you a step by step explanation, we all once were beginners, you have to read documentation and tutorials and to learn it yourself. A forum is not a replacement for documentation. It will take you some time of course.
Nobbie
 
Posts: 8759
Joined: 09. March 2008 13:04

Re: .htacess how to config in xampp v5.6.3

Postby paravatee » 11. February 2015 09:55

very thank you !
I can config .htacess completely
Thank you for help me slove problem :D
paravatee
 
Posts: 4
Joined: 09. February 2015 11:01
Operating System: window 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 45 guests