MGCJerry
02-16-2002, 09:11 PM
I just decided to jump off the deep end and install Apache on my local computer. How the heck do you enable SSI..?
I dont know squat about Apache, so talk to me like I'm a complete idiot.
Here's what I've done so far:
I added thses lines in a .htaccess file in the document root folder:
"AddType text/html .shtml"
"AddHandler server-parsed .shtml"
I also added this into the httpd.conf file:
"Options +Includes"
What am I doing wrong here? I cant figure it out for the life of me. I'm trying this so I can update my site on my computer.
Thanks in advance.
ffeingol
02-16-2002, 09:30 PM
Try:
Options Includes
(i.e. no + sign) Then stop/start Apache.
Frank
MGCJerry
02-16-2002, 09:41 PM
Thanks for the suggetion :)
Hmm... jsut tried it and no luck.
Does the "Options Includes" need to go into a certian spot of the "httpd.conf" file, or can I just put it anywhere in there? Its current location is the end of the file.
I'm still looking into this, and hopefully I didnt brake anything trying to figure it out. :eek2:
I'm going to try to add the other stuff into the mimes file... maybe that will work.?
"AddType text/html .shtml"
"AddHandler server-parsed .shtml"
ffeingol
02-16-2002, 09:51 PM
It would normally be within a <Directory blah> directive. The should be a Directory directive that controls the directory where your web page is located.
Frank
MGCJerry
02-16-2002, 10:05 PM
I found the <directory blah> area I think.
<Directory />
Options FollowSymLinks
Options Includes
AllowOverride None
</Directory>
I'm going to try some more playing around and see if I can get it working... If not, I'm going to bed and try it tomorrow.
Hmm... I'm getting the feeling were getting close... unless someone wants to donate a httpd.conf file to the poor :D
ffeingol
02-16-2002, 10:12 PM
If it's in the <Directory /> then your web page would need to be in the main htdoc directory. There is usually a more restrictive <Directory > tag for user pages.
Where are your webpages relative to the root?
Frank
MGCJerry
02-16-2002, 10:23 PM
My pages are in the htdocs... I beleive that is the root.
I just need to find where exactly to put these:
"AddType text/html .shtml"
"AddHandler server-parsed .shtml"
Well... I'm gonna check out for the night. I'll mess with it in the morning.
Thanks for helping. Jeez I hate being a complete dummy on things. :(
MGCJerry
02-17-2002, 03:28 PM
I've tried many things and no luck... Oh well.
I just hope that php and MySQL isnt going to be this difficult.