|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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> ================== |
|
#2
|
|||
|
|||
|
Sorry for the double post - over-judicious use of the back button...
Sorry! |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Apache SSI Troubles |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|