LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2005, 10:29 PM   #1
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Rep: Reputation: 53
Apache Refuses to Work with SSI


Hi All,
I've been slowly but surely setting up a website on an old Dell OptiPlex a friend was kind enough to donate to the 'Shane Home for Old Computers'. It's going pretty well, I even got SHTML working on it! But for some reason SSI's are not working. So I uploaded an old website onto the server that has it's SSI's working, and suffice to say, it didn't work. I tried taking the steps at the Debian site, and well, I had already done those, so I tried the XBit piece, apache gave me an error saying that Xbit was an invalid command, is there a specific place I need to place the XBit command? I'm using Debian 3.0 btw.

Thanks In Advance

Shane
 
Old 06-02-2005, 08:55 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Logs? What do your logs indicate? I've never heard of this Xbit command.. what is it or what does it do? If you provide more details, like errors in logs, configurations, scripts your using.. your probably going to get more replies.. without this, we're in the dark with no light..
 
Old 06-02-2005, 11:36 AM   #3
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
Sure..... XBit is from here http://httpd.apache.org/docs/mod/mod....html#xbithack


What I thought would do the trick... from my httpd.com, it allows me to use shtml pages, but not ssi's

Code:
 # If you want to use server side includes, or CGI outside
    # ScriptAliased directories, uncomment the following lines.
    #
    # To use CGI scripts:
    #
    AddHandler cgi-script .cgi .sh .pl

    #
    # To use server-parsed HTML files
    #
    AddType text/html .shtml
    AddHandler server-parsed .shtml

    #
    # Uncomment the following line to enable Apache's send-asis HTTP
    # file feature.
    #
    #AddHandler send-as-is asis


Shane
 
Old 06-02-2005, 11:55 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
So do you have mod_include compiled with apache on this new machine? A simple copy from one config on one server to another doesn't always mean its going to jut work.. it has to have the same version or at least the same modules on the new server running apache..
 
Old 06-03-2005, 11:57 PM   #5
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
No, I'm not sure what mod include is. I merely selected Apache when I installed debian. How would I go about including that?
 
Old 06-27-2005, 09:01 PM   #6
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
Could someone please help me? I have no idea how to do this... and all the threads on SSI seem to just die of lack of attention.

I'll restate what I have above....

I have apache installed on debian 3.1, woody.

I have successfully configured apache to recognize shtml files, but it will not allow me to use server side includes. I have tried several tutorials online, not one has worked. The only one I fully felt i could comprehend was:

http://bignosebird.com/sdocs/enable.shtml

Did everything it said. Still no dice.

As to what trickykid was asking above... I really don't understand what you wanted. I asked for clarification and you just ignored me like I was an idiot (you seemed to treat me that way in your posts as well) I thought this site was about helping people out.

~Shane
 
Old 06-28-2005, 08:14 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by shane25119
As to what trickykid was asking above... I really don't understand what you wanted. I asked for clarification and you just ignored me like I was an idiot (you seemed to treat me that way in your posts as well) I thought this site was about helping people out.

~Shane
What i was stating was do you have mod_include compiled with apache. If your using this xbit that is most likely what you need with apache. My assumption would be the default Debian install of Apache does not include this, your probably better off compiling apache yourself with the modules you need for your shtml pages.

And I didn't ignore you, there's over 170k members here with around 2k posts each day.. I'm not superman and can't remember to followup on every single post..

And if you desperately need help, why did you wait almost a month to followup once again after your last post went unnoticed? Before blaming someone who comes here in their own free time to help people like you but also has his own life to deal with, you should be a little more considerate I even replied to try and help as apparently no one else either knows how to fix your issue or doesn't want to bother cause your not replying with needed information. If you don't know what I asked, you should ask to clarify but now since your whining about it all, that doesn't motivate me to try very hard to help you out now..

So if you want to solve your problem, first, don't paste an apache config from one server to the next unless you know they were compiled exactly alike with all the same options and dependencies..

Secondly, why don't you run apachectl configtest to test your config to make sure everything checks out ok

Thirdly, why don't you check your config to make sure its loading the mod_include module as apparently your xbit shtml files need such module..

And lastly, start following up more often.. if you really need help and it's that important to you and for some reason your thread gets swallowed up (as I can't be around 24 hours waiting for your responses) don't wait a month to followup with more details of things you've tried to do to fix your issue as this site and forums get an average of 2k posts a day, your thread and questions can get pushed down the list very quickly.

Regards.
 
Old 06-28-2005, 03:23 PM   #8
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
First, off apologies are in order... Sorry for flipping out on you there... I'll give your suggestions a try and let you know what happens.
 
Old 06-30-2005, 08:54 PM   #9
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
After some furthur looking into the matter and trying to make sense of the info I have on Xbit.... it does appear Apache needs to be recompiled. I have set up a test box to do this on, and well I'm making progress slowly but surely. It does seem that JavaScript is a lot more powerful for what I was using SSI for. I will figure out the Apache SSI thing, because well thats how I am, but for the original server, its JS for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache 2 problem (ssi) snip128 Linux - Software 11 08-14-2005 10:09 PM
SSI and Apache 2 krumholz Linux - General 6 10-05-2003 07:50 PM
cant get ssi to work dsgdevil Linux - General 1 02-16-2003 01:01 AM
ssi in apache lustra Linux - Networking 0 02-28-2002 06:41 PM
Apache and SSI? phek Linux - Newbie 2 10-24-2001 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration