SHARE
TWEET

Explore root in Apache

Mayur_Pipaliya Mar 4th, 2012 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # # # # Explore ROOT in Apache # # # #
  2. # Add below directives in the END of file. LOCATION "/etc/httpd/conf/httpd.conf"
  3. # PS: Need Privileged User to edit file.
  4.  
  5. # These are directives used in Apache to Explore whole ROOT :)
  6. # One can change "/" to "c:/" for Windows Path.
  7.  
  8. # -- cut here -- #
  9. Alias /root "/"
  10. <Directory "/">
  11.         Options Indexes
  12.         AllowOverride All
  13.         Order allow,deny
  14.         Allow from all
  15. </Directory>
  16. # -- cut here -- #
  17.  
  18. # Example : http://localhost/root/
  19.  
  20. # Same can be done in nginx & lighttpd with different directives. :D
RAW Paste Data
Top