Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 23rd, 2004, 05:21 AM
rebeldreams rebeldreams is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: London UK
Posts: 3 rebeldreams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Apache SSI Troubles

Hi

I'm having some major problems running SSIs on Apache. The annoying thing is I've ahd them running before in a previous job, and I don't think anything's different in the setup here!

To explain:

I'm running a perl-based CMS that uses a virtual host on the main server to serve content, and another one to act as the main server.

The CMS is working fine, and can communicate witht he server.. no problems there. It can also communicate with the outside world.

WhenI ask for any page generated by the CMS, however, the browser pops up with the "download file" dialog; the files contain (obviously) SSIs, and Apache is obviously serving them as files, not HTML.

I've made the Option Includes and other changes to the httpd.conf file as usual, and it all runs fine, but NO SSI is running, even a really simple handcoded one I knocked up as a test (so the file isn't malformed, it's just not working!)

Here's the relevant part of my httpd.conf file for reference (comments and IP masked.removed). Everything else is vanilla out-of-the-box code.
Any help would be MOST appreciated!

Cheers!

Callum

=============================
</VirtualHost>
<VirtualHost intranet.goshcc.net>
# <VirtualHost 192.168.xxx.xxx>
DocumentRoot /var/www/vhosts/intranet/htdocs/
ServerAdmin URL
ScriptAlias /cgi-bin/ /var/www/vhosts/intranet/cgi-bin/
DirectoryIndex index.php index.html index.htm index.shtml
TransferLog /var/www/vhosts/intranet/logs/access_log
ErrorLog /var/www/vhosts/intranet/logs/error_log
ServerName intranet.goshcc.net
ServerSignature email
<Directory />
Options +Includes
AllowOverride All
AddType text/x-server-parsed-html .html
</Directory>
<Directory /admin/>
Options Includes
AllowOverride All
AddType text/x-server-parsed-html .html
</Directory>

</VirtualHost>



<VirtualHost goshintranet.goshcc.net>
# <VirtualHost 192.168.xxx.xxx>
DocumentRoot /var/www/vhosts/ppr/htdocs/

ServerAdmin URL
ServerName intranet.goshcc.net
ScriptAlias /cgi-bin/ /var/www/vhosts/ppr/cgi-bin/

ServerSignature email


</VirtualHost>

<Directory "/">
Options FollowSymLinks

AllowOverride None



</Directory>

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from from all


Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from from all


Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from from all


Order allow,deny
</Directory>

<Directory "/var/www/vhosts/intranet/htdocs">
Options All

AllowOverride None
Allow from from all


Order allow,deny
</Directory>

<Directory "/var/www/vhosts/intranet/cgi-bin">
Options All

AllowOverride None
Allow from from all


Order allow,deny
</Directory>
==================

Reply With Quote
  #2  
Old January 23rd, 2004, 05:31 AM
rebeldreams rebeldreams is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: London UK
Posts: 3 rebeldreams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry for the double post - over-judicious use of the back button...

Sorry!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache SSI Troubles


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT