Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Originally posted by rocketgo i am runing yellow dog linux with apache 2.0 i have looked at apache.org but it did not help me
Well, do you even have mod_ssl installed? Did you install apache yourself or is it the version that came with Yellow Dog? That's why its best to ask more specific questions instead of vague type questions, were not here to really rewrite howto's you know..
Where did you look on their site, I always find it very helpful with great information.
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Open your configuration file httpd.conf and search for:
# To use server-parsed HTML files
#AddType text/html .shtml
#AddHandler server-parsed .shtml
Remove the # before the AddType and commands. The AddType command instructs the server to return text or HTML for the content type whenever it serves a file with the extension .shtml. The AddHandler command instructs Apache to pass the contents of the file to mod_include. From there, it is up to mod_include to handle the response correctly.
Next, add the following directive either in your httpd.conf file, or in a .htaccess file:
You will probably need to apply the Options to the specific directory where you want SSI enabled in order to assure that it gets evaluated last.
<Directory "/your/path to/htdocs">
Options Indexes +Includes MultiViews
Allow from all
This line tells Apache to execute server-side includes in the httpd directory. In order for these changes to take effect, you must restart the server.