code-tutorial.com

The best resources for developers

Make Apache / XAMPP serve file outside of htdocs folder. Make XAMPP and Apache serve file outside of htdocs folder.

<VirtualHost *:80>
    DocumentRoot C:Projects	ransitCalculator	runk
    ServerName transitcalculator.localhost
    <Directory C:Projects	ransitCalculator	runk>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
127.0.0.1 transitcalculator.localhost #transitCalculator
Alias /transitCalculator "C:/Projects/transitCalculator/trunk"

Tags: php apache xampp server-configuration

Source: By cmcculloh as answer to the question

This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 4.0


Related code-snippets: