Advertisement
Mayur_Pipaliya

Explore root in Apache

Mar 4th, 2012
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement