Example Virtual Host Configuration (Weblication on XAMPP)


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <VirtualHost 127.0.0.1>
  2. ServerName weblication
  3. ServerAlias localhost
  4. AddType text/html .shtml
  5. AddHandler server-parsed .shtml
  6. AddHandler cgi-script .pl .cgi
  7. ServerAdmin [email protected]
  8. DocumentRoot "c:/xampp/htdocs/ep/de_contactsheet_weblication"
  9. ScriptAlias /cgi-bin/ "c:/xampp/htdocs/ep/de_contactsheet_weblication/cgi-bin/"
  10. <Directory "c:/xampp/htdocs/ep/de_contactsheet_weblication">
  11. Options Indexes FollowSymLinks ExecCGI
  12. Options +Includes
  13. AllowOverride FileInfo
  14. AllowOverride None
  15. Order allow,deny
  16. Allow from all
  17. DirectoryIndex index.php index.shtml index.html index.htm
  18. </Directory>
  19. </VirtualHost>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.