Advertisement
Guest User

Untitled

a guest
Feb 27th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. <VirtualHost ip_cím:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. AddType text/html .php
  5.  
  6. <IfModule mod_autoindex.c>
  7. IndexOptions FancyIndexing FoldersFirst IgnoreCase VersionSort SuppressHTMLPreamble
  8. ReadmeName /webdata/footer.shtml
  9. HeaderName /webdata/header.php
  10. </IfModule>
  11.  
  12. Alias /webdata /útvonal/data
  13.  
  14. DocumentRoot /útvonal/Schemas
  15. <Directory /útvonal/Schemas>
  16. Options Indexes FollowSymLinks MultiViews
  17. AllowOverride None
  18. AuthName "Password required"
  19. AuthType Basic
  20. AuthUserFile /útvonal/.htpasswd
  21. require valid-user
  22. </Directory>
  23.  
  24. <Directory /útvonal/data>
  25. Options Indexes FollowSymLinks MultiViews
  26. AllowOverride None
  27. AuthName "Password required"
  28. AuthType Basic
  29. AuthUserFile /útvonal/.htpasswd
  30. require valid-user
  31. </Directory>
  32.  
  33. ErrorLog /var/log/apache2/error_xxx.log
  34.  
  35. # Possible values include: debug, info, notice, warn, error, crit,
  36. # alert, emerg.
  37. LogLevel crit
  38.  
  39. CustomLog /var/log/apache2/access_xxx.log combined
  40. ServerSignature On
  41.  
  42. ServerName xxx.ize.hu
  43. ServerAlias xxx.ize.hu
  44. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement