PDA

View Full Version : .htaccess - What can you do?


Dylliean
10-14-2006, 12:15 AM
What can you do with the .htaccess file? I've heard you can edit multiple pages at once which could be easy when you make navigation menus. For now I've used a frame (Go HERE (http://www.upnpad.com) to view my site). Thanks, this thread is as much for everyone else as it is for me.:)

karimali831
10-14-2006, 06:28 AM
Well I ain't sure but everytime I create a protected directory there is a .htacess file there, so I think it means to get access to that directory. Same goes for subdomains, htaccess files affect the directory they are placed in and all sub-directories, that is an htaccess file located in your root directory (yoursite.com) would affect yoursite.com/content.

DUG
10-14-2006, 09:22 AM
You can accomplish what you're talking about using PHP or SSI.

If you're trying to include a document outside your server, PHP is the only option. If it's local, you can use either/or (SSI is local only).

A few links for you...

PHP include() function. (http://www.tizag.com/phpT/include.php)
SSI Include. (http://httpd.apache.org/docs/1.3/howto/ssi.html#includingastandardfooter)

Dylliean
10-15-2006, 12:47 AM
Thanks guys.

prophead
10-15-2006, 11:06 PM
i found it easiest to learn.

go to www.cmsmatrix.org


peace