PDA

View Full Version : Hide Viewable Source Files


dwaddict321
04-10-2009, 07:25 PM
Ok, this is a general question, not sure if it's HTML, CSS, or PHP.

You know how you go on some web sites and it won't show you what the file you're viewing is? It won't say index.html or main.php.

Not sure what the purpose is, but maybe increased security?

That's what I would like to do for my web site.

davidj
04-10-2009, 09:57 PM
its a web server configuration

The server looks for index, default, home as the home page. You dont need to add it in the URL

domedia
04-12-2009, 05:16 PM
you can rewrite urls in an .htaccess file.