Guest User

/etc/apache2/sites-available/contentshell.conf

a guest
Jul 9th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3. DocumentRoot /var/www
  4. ErrorDocument 404 /redirect/404.php
  5. ErrorDocument 500 /redirect/500.php
  6. ErrorDocument 502 /redirect/502.php
  7. ErrorDocument 503 /redirect/503.php
  8. ErrorDocument 504 /redirect/504.php
  9.  
  10. <Directory />
  11. Options -Indexes +FollowSymLinks
  12. AllowOverride None
  13. DirectoryIndex index.html index.php /_h5ai/server/php/index.php
  14. </Directory>
  15. <Directory /var/www>
  16. Options -Indexes +FollowSymLinks +MultiViews
  17. AllowOverride None
  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 None
  25. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  26. Order allow,deny
  27. Allow from all
  28. </Directory>
  29.  
  30. ErrorLog ${APACHE_LOG_DIR}/error.log
  31.  
  32. # Possible values include: debug, info, notice, warn, error, crit,
  33. # alert, emerg.
  34. LogLevel error
  35.  
  36. CustomLog ${APACHE_LOG_DIR}/access.log combined
  37. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment