Web Hosting Forum | Lunarpages


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



Login with username, password and session length
February 07, 2012, 08:33:42 PM

Pages: [1]   Go Down
  Print  
Author Topic: html code not working  (Read 1352 times)
abc
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


« on: January 02, 2010, 01:56:58 PM »

hello,
i have a page entitled left_hand_column.html and on index page have <!--#include virtual="left_hand_column.html" --> entered.  The contents of the left_hand_column.html are not appearing.  Any idea or help with this problems.
thank you.
Logged
webweaver
Galactic Royalty
*****
Offline Offline

Posts: 206


WWW
« Reply #1 on: January 02, 2010, 03:37:21 PM »

Do you have your include code in an html page or an shtml page or a php page?

If you have it in an html page, first try renaming your index page to index.shtml to see if that works. If it does, you can leave it as that name.  If you want it to continue as .html,  you need to make sure that your htaccess file has your html parsed as shtml.

No matter what, read these 2 tutorials below. 


See Mitch's tutorial here: http://wiki.lunarpages.com/Easier_Way_to_Edit_Static_Content_Using_SSI.

And be sure to read this one - http://wiki.lunarpages.com/SSI_on_html_Web_Pages.

Both short and sweet and will probably solve your problem.

Logged
abc
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


« Reply #2 on: January 02, 2010, 08:27:29 PM »

I have 2 files- .htacess and .htaccess.1142811271.
I added the code to each and it did not work in showing the virtual file on website so I took the code out of each htaccess file and unfortunately now have error message
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@nyrestaurantvideos.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.41 Server at nyrestaurantvideos.com Port 80

what can i do to get my website back online?  please help
Logged
MichaelT
Support
Jabba the Hutt
*****
Offline Offline

Posts: 523



« Reply #3 on: January 03, 2010, 04:38:28 AM »

I have 2 files- .htacess and .htaccess.1142811271.
I added the code to each and it did not work in showing the virtual file on website so I took the code out of each htaccess file and unfortunately now have error message
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@nyrestaurantvideos.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

Hi abc,

The information in your public_html/.htaccess file was corrupted (not really corrupted but some lines were jumbled so they ran together). I have corrected this and the site is resolving at http://nyrestaurantvideos.com/ BUT you may want to check through that file and make sure the information is set up the way you want it.
Logged

--

Support and Assistance:
Contacting Us
Hosting Plans
Affiliate Program
Wiki and Tutorials
abc
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


« Reply #4 on: January 03, 2010, 06:25:00 AM »

Thank you so much!!!!
Went to bed last night with my main website and subdomains all crashed and expected to have to spend hours today trying to fix it.   What a wonderful surprise to see that you fixed everything for me.  Love you guys at Lunarpages.
Happy Happy Joy Joy Happy Happy Joy Joy Happy Happy Joy Joy
yes another happy customer
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #5 on: January 04, 2010, 06:13:58 AM »

Whoo hoo! Always like to hear that. Very Happy
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Pages: [1]   Go Up
  Print  
 
Jump to: