LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2005, 05:53 PM   #1
superscrappy
LQ Newbie
 
Registered: May 2005
Location: Iowa
Distribution: Fedora Core 3
Posts: 10

Rep: Reputation: 0
Apache2 Virtual Host SSI problems


I am attempting to allow virtual hosts to run ssi's. I can get ssi's to work for the htdocs directory but not for the virtual hosts. Below is the virtual hosts section of httpd.conf. I am starting off as simple as I can with a

<!--#echo var="DATE_LOCAL" -->

line.

All modules are statically compiled for my Apache2.0 server.

Code:
<VirtualHost *:80>
    DocumentRoot /root/path/to/virtual/host
    Options +Includes
    XBitHack Full
    ServerName www.myvirtualhost.com
    ServerAlias myvirtualhost.com *myvirtualhost.com
    AddType text/html .html .shtml
    AddHandler server-parsed .html .shtml
<Directory /root/path/to/virtual/host>
    Options All
    AllowOverride None
    XBitHack Full
    Options FollowSymLinks
    AllowOverride None
    AddType text/html .html .shtml
    AddHandler server-parsed .html .shtml
</Directory>
</VirtualHost>
Again, the ssi's work just fine for the htdocs directory (default root directory).

I appreciate any suggestions anyone might have.

-superscrappy
 
Old 08-30-2005, 05:04 PM   #2
superscrappy
LQ Newbie
 
Registered: May 2005
Location: Iowa
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
I found my very obvious mistake.

Inside my virtual hosts directory that I wanted to use SSI's I needed to have the following:

Code:
Options +Includes
I had thought that:
Code:
Options All
would have included this option but I should probably do a little more research on the subject.

SS
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 virtual host. hgb Linux - Networking 10 01-24-2009 02:05 AM
Apache2 virtual host cgi 403 Forbidden / mossy Linux - Software 15 07-27-2005 04:56 PM
apache2 help -Virtual Host- Fredstar *BSD 4 06-06-2005 01:09 PM
Can't do Apache2 virtual host different ports SK_pt Linux - Software 3 01-30-2005 07:04 PM
apache2, virtual host problems rjcrews Linux - Software 13 05-25-2004 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 PM.

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