XAMPP
Aus Mein Wiki
Sebra (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ = Konfiguration = == How to change XAMPP server port? == To change the XAMPP server port number: Stop the XAMPP server, if it is running already. Open the file …“) |
Sebra (Diskussion | Beiträge) (→Making XAMPP to serve any directory outside htdocs) |
||
Zeile 19: | Zeile 19: | ||
Open the file [xamp_installation_folder]/apache/conf/httpd.conf in any text editor. | Open the file [xamp_installation_folder]/apache/conf/httpd.conf in any text editor. | ||
Copy below lines after the htdocs <Directory> element after changing the directory to your own folder. 1 | Copy below lines after the htdocs <Directory> element after changing the directory to your own folder. 1 | ||
- | + | <Directory "C:/path/to/your/folder"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Options Indexes FollowSymLinks Includes ExecCGI | Options Indexes FollowSymLinks Includes ExecCGI | ||
AllowOverride All | AllowOverride All | ||
Order allow,deny | Order allow,deny | ||
Allow from all | Allow from all | ||
- | </Directory> | + | </Directory> |
- | Then search for this string: <IfModule alias_module>. Inside that element, add a new alias as followed: | + | Then search for this string: <IfModule alias_module>. Inside that element, add a new alias as followed: |
+ | Alias /yoursite/ "C:/path/to/your/folder/yoursite/" | ||
Save the file and restart the XAMPP server. | Save the file and restart the XAMPP server. |