Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Old method but gold , sometimes when you wanna edit index file of a website and you find that the permission of the server doesn't permit that :3 :s
- well if the .htaccess file is writable in /public_html dir you can surely bypass the main index of the website with a simple method
- go to any dir like /tmp and create your index page file call it index.php (common name) for example
- edit the .htaccess in /public_html with this following code :
- RewriteEngine onRewriteRule ^index.php$ tmp/index.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement