Advertisement
ErshKUS

config apache

Aug 4th, 2011
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. Listen 8088
  2.  
  3. <VirtualHost *:8088>
  4. ServerAdmin webmaster@localhost
  5.  
  6. DocumentRoot /www/search/www
  7. <Directory />
  8. Options FollowSymLinks
  9. AllowOverride None
  10. </Directory>
  11. <Directory /www/search/www>
  12. Options Indexes FollowSymLinks MultiViews
  13. AllowOverride None
  14. Order allow,deny
  15. allow from all
  16. </Directory>
  17.  
  18. ScriptAlias /cgi-bin/ /www/search/api/
  19. ScriptAlias /api/ /www/search/api/
  20. <Directory "/www/search/api">
  21. AllowOverride None
  22. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  23. Order allow,deny
  24. Allow from all
  25. </Directory>
  26.  
  27. ErrorLog /var/log/apache2/search-error.log
  28.  
  29. # Possible values include: debug, info, notice, warn, error, crit,
  30. # alert, emerg.
  31. LogLevel warn
  32.  
  33. CustomLog /var/log/apache2/search-access.log combined
  34.  
  35. Alias /doc/ "/usr/share/doc/"
  36. <Directory "/usr/share/doc/">
  37. Options Indexes MultiViews FollowSymLinks
  38. AllowOverride None
  39. Order deny,allow
  40. Deny from all
  41. Allow from 127.0.0.0/255.0.0.0 ::1/128
  42. </Directory>
  43.  
  44. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement