Advertisement
Guest User

Untitled

a guest
Nov 28th, 2013
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. NameVirtualHost *
  2. Listen 192.168.1.105:81
  3.  
  4. <VirtualHost *>
  5. ServerAdmin webmaster@localhosĀ“t
  6.  
  7. DocumentRoot /var/www-redirect
  8.  
  9. <Directory />
  10. Options FollowSymLinks
  11. AllowOverride All
  12. </Directory>
  13. <Directory /var/www-redirect/>
  14. Options Indexes FollowSymLinks MultiViews
  15. AllowOverride All
  16. Order allow,deny
  17. allow from all
  18. </Directory>
  19.  
  20. #Alias /acidbase/ "/usr/share/acidbase/"
  21.  
  22. #Alias /blog/ "/var/www-blog/"
  23.  
  24. #<Directory "/var/www-blog/">
  25. # Options Indexes FollowSymLinks MultiViews
  26. # AllowOverride All
  27. # Order allow,deny
  28. # allow from all
  29. #</Directory>
  30.  
  31. #<Directory "/usr/share/acidbase/">
  32. # Options +FollowSymLinks
  33. # AllowOverride None
  34. # order deny,allow
  35. # deny from all
  36. # allow from 127.0.0.0/255.0.0.0 192.168.100.115
  37. #</Directory>
  38.  
  39. <IfModule mod_php5.c>
  40. php_flag magic_quotes_gpc Off
  41. php_flag track_vars On
  42. php_value include_path .:/usr/share/php
  43. </IfModule>
  44.  
  45. #<Directory /var/www-clearnet/real/modpack-site>
  46. # Options Indexes FollowSymLinks MultiViews
  47. # AllowOverride All
  48. # Order allow,deny
  49. # allow from all
  50. #</Directory>
  51.  
  52. #<Directory /var/www-clearnet/gallery>
  53. # Options Indexes FollowSymLinks MultiViews
  54. # AllowOverride All
  55. # Order allow,deny
  56. # allow from all
  57. #</Directory>
  58.  
  59. #<Directory /var/www-clearnet/real/forum>
  60. # Options Indexes FollowSymLinks MultiViews
  61. # AllowOverride All
  62. # Order allow,deny
  63. # allow from all
  64. #</Directory>
  65.  
  66. #<Directory /var/www-clearnet/owncloud>
  67. # Options Indexes FollowSymLinks MultiViews
  68. # AllowOverride All
  69. # Order allow,deny
  70. # allow from all
  71. #</Directory>
  72.  
  73. #<IfModule mod_fastcgi.c>
  74. # AddHandler php5-fcgi .php
  75. # Action php5-fcgi /php5-fcgi
  76. # Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
  77. #FastCgiExternalServer /usr/lib/cgi-bin/php5 -host 127.0.0.1:7777 -pass-header Authorization
  78. #</IfModule>
  79. <IfModule mod_fastcgi.c>
  80. FastCgiExternalServer /var/www-redirect/php5.external -host 127.0.0.1:9000
  81. AddHandler php5-fcgi .php
  82. Action php5-fcgi /usr/lib/cgi-bin/php5.external
  83. Alias /usr/lib/cgi-bin/ /var/www-redirect/
  84. </IfModule>
  85. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  86. <Directory "/usr/lib/cgi-bin">
  87. AllowOverride None
  88. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  89. Order allow,deny
  90. Allow from all
  91. </Directory>
  92. Alias /board/ /var/www-clearnet/kusaba/
  93. <Directory "/var/www-clearnet/kusaba">
  94. Options Indexes FollowSymLinks MultiViews
  95. AllowOverride All
  96. Order allow,deny
  97. allow from all
  98. </Directory>
  99.  
  100. ErrorLog ${APACHE_LOG_DIR}/error-default.log
  101.  
  102. # Possible values include: debug, info, notice, warn, error, crit,
  103. # alert, emerg.
  104. LogLevel warn
  105.  
  106. CustomLog ${APACHE_LOG_DIR}/access-default.log combined
  107.  
  108. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement