Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # Explore ROOT in Apache # # # #
- # Add below directives in the END of file. LOCATION "/etc/httpd/conf/httpd.conf"
- # PS: Need Privileged User to edit file.
- # These are directives used in Apache to Explore whole ROOT :)
- # One can change "/" to "c:/" for Windows Path.
- # -- cut here -- #
- Alias /root "/"
- <Directory "/">
- Options Indexes
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- # -- cut here -- #
- # Example : http://localhost/root/
- # Same can be done in nginx & lighttpd with different directives. :D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement