Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 05:22:23 PM

Pages: [1]   Go Down
  Print  
Author Topic: using html include in a sub domain  (Read 1288 times)
durangod
Galactic Royalty
*****
Offline Offline

Posts: 203


« on: May 05, 2010, 10:54:11 AM »

Hi i have been using an include for my nav bar for some time in my html file, i have the included file in a includes folder in my site root. 

i decided yesterday to start using an include for my other sub domain sites (different nav bar dif include file)  but for some reason it wont run it, it gives me an error, i did make a include folder in my sub folder and  i did make an htaccess in the sub folder and added this to it
AddType text/x-server-parsed-html .html  just as it is in my root, but it still gives me an error, says it cant process an empty file...

would there be a reason that its not seeing the file, in the html i have it called as /navbar.html  i did try to use the whole url but still nothing...

do all include file have to come out of the same root include folder.. 
Logged
durangod
Galactic Royalty
*****
Offline Offline

Posts: 203


« Reply #1 on: May 13, 2010, 07:11:13 PM »

Update, its working, not sure what happend but the next day i tried it again and its working now...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: