|
|
#1 |
|
Prospect
Join Date: Jun 2004
Posts: 2
|
Server Side Includes with apache on os x
Hi. I cant seem to get server side includes to work on my apache web server on os X (jaguar 10.2.6). I have read many articles and tried various metods but no luck. ( i was successful getting PHP running ).
I have changed my http.conf file to include: AddType text/html .shtml AddHandler server-parsed .shtml AddHandler server-parsed .html I have also set "Options Includes" inside <Directory "Library/WebServer/Documents" > I have also tried using .htaccess files and XBit Hack, but all to no avail so I am stumped. If anyone has any tips or can point me to a good source of info I would appreciate it. thanks! Tom |
|
|
|
|
|
#2 |
|
All Star
Join Date: Aug 2002
Posts: 561
|
I thought you would have more responses by now. Here are some
things to look for: 1) Are you sure you have the Option Includes in the correct place? 2) Is mod_includes enabled? (I think that is the name). If that does not help, you might try posting the whole httpd.conf file. |
|
|
|
|
|
#3 |
|
Prospect
Join Date: Jun 2004
Posts: 2
|
Thanks for the response. I got it to work shortly after i posted the question. I had to put the Options Includes inside specific <Directory> tags. It seems I have to put:
<Directory "/Users/tommelkonian/Sites/(site directory)" > Options Includes </Directory> for each project I have in the Sites directory. For some reason it wont work like this (the directories beneath won't work.) : <Directory "/Users/tommelkonian/Sites" > Options Includes </Directory> Also I cant sem to get it to work with .htaccess files... But I'm satified it works!! thanks again! Tom |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|