|
|
#1 (permalink) |
|
Registered User
Comfy Contributor
Joined in Mar 2006
Lives in UT
Hosted on SH92
165 posts
Gave thanks: 28
Thanked 0 times
|
Ok, so I found this on Server Side Includes:
http://httpd.apache.org/docs/1.3/howto/ssi.html It tells me that I need to add Options +Includesto my .htaccess file. What I am doing is I have multiple pages with the same information on it. I want to be able to update each page with one file. So I need every page parsed. So I come to this: The other method is to use the XBitHack directive: XBitHack on XBitHack tells Apache to parse files for SSI directives if they have the execute bit set. So, to add SSI directives to an existing page, rather than having to change the file name, you would just need to make the file executable using chmod. chmod +x pagename.html Ok, sounds simple, but what does this: chmod +x pagename.htmlreally mean? It's pretty much greek to me. I mean, do I just change the pagename.html to my pagename and then insert that line into my .htaccess file? What would be the final code in my .htaccess file? Would it be: Options +Includeschmod +x about.html Or what? Also, can SSI parse .php or will I have to update those individually? I know a lot of questions but I sure appreciate the help!
__________________
~CJA~ 72.29.87.117 "Constantly lost in the world of PHP" is my personal understatement. |
|
|
|