Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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..
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
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..
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:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.