Queston about redirect

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

Queston about redirect

Postby Joddi » 20. January 2009 18:56

When I went to the location - localhost/security, i saw that the folder (security) is not in the folder htdocs, but it is in the root folder of xampp server, so I want to know how you made this redirect.

also i have a question - how to remove all unnecessary server stuff including the demo files etc.
Joddi
 
Posts: 9
Joined: 16. January 2009 13:38

Re: Queston about redirect

Postby w4vy » 20. January 2009 19:53

Hello Joddi, the answer to your question is the Alias directive inside the httpd-xampp.conf config file :-

/xampp/apache/conf/extra/

Alias /security "X:/xampp/security/htdocs/"
<Directory "X:/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>

That is how that redirection was made I hope that helps and maybe someone else can go into it more with you but I just wanted to show you where it was written in the grand scheme of things. thankyou.
Image
User avatar
w4vy
 
Posts: 153
Joined: 04. June 2008 09:58
Location: England


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests