Guest User

Untitled

a guest
Sep 13th, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3. ServerName kortefa.hu
  4. ServerAlias www.kortefa.hu
  5.  
  6. RewriteEngine On
  7. RewriteCond %{REQUEST_URI} !(.*)/$
  8. RewriteRule ^(.*)$ http://almafa.szolgaltato.hu/$1 [P]
  9.  
  10. DocumentRoot /var/www/kortefa
  11. <Directory />
  12. Options FollowSymLinks
  13. AllowOverride All
  14. </Directory>
  15. <Directory /var/www/kortefa>
  16. Options Indexes FollowSymLinks MultiViews
  17. AllowOverride All
  18. Order allow,deny
  19. allow from all
  20. </Directory>
  21.  
  22. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  23. <Directory "/usr/lib/cgi-bin">
  24. AllowOverride All
  25. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  26. Order allow,deny
  27. Allow from all
  28. </Directory>
  29.  
  30. ErrorLog /var/log/apache2/kortefa-error.log
  31.  
  32. # Possible values include: debug, info, notice, warn, error, crit,
  33. # alert, emerg.
  34. LogLevel warn
  35.  
  36. CustomLog /var/log/apache2/kortefa-access.log combined
  37.  
  38. Alias /doc/ "/usr/share/doc/"
  39. <Directory "/usr/share/doc/">
  40. Options Indexes MultiViews FollowSymLinks
  41. AllowOverride All
  42. Order deny,allow
  43. Deny from all
  44. Allow from 127.0.0.0/255.0.0.0 ::1/128
  45. </Directory>
  46.  
  47.  
  48. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment