Re: debian 1.3.1 apache

1997-12-27 Thread Hamish Moffatt
On Fri, Dec 26, 1997 at 10:47:57AM +, Berni Ernst wrote:
 I have an debian box with version 1.3.1 where I want to run
 apache as a http server. Works! But I am unable to run any
 cgi scripts or SSI in my html documents. I commented out
 the described parts in srm.conf.

 What else can I do or where should I have a special
 look for ?

access.conf may need examination too.

How do you mean you are unable to run them? What error message
do you get, both in the browser and in the server logs?

What do you mean you commented out the described parts of srm.conf?

Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: debian 1.3.1 apache

1997-12-27 Thread Rob
At 11:27 27/12/97 +1100, Hamish Moffatt wrote:
On Fri, Dec 26, 1997 at 10:47:57AM +, Berni Ernst wrote:
 I have an debian box with version 1.3.1 where I want to run
 apache as a http server. Works! But I am unable to run any
 cgi scripts or SSI in my html documents. I commented out
 the described parts in srm.conf.

 What else can I do or where should I have a special
 look for ?

access.conf may need examination too.

How do you mean you are unable to run them? What error message
do you get, both in the browser and in the server logs?

What do you mean you commented out the described parts of srm.conf?

Hamish

This may be a bit obvious, but I found, when I was trying to get SSI to
work, that just editing the conf files was not good enough:  I had to run
'apacheconfig' afterwards.  Once you have done that, view
/etc/apache/httpd.conf and check that the line for mod_includes has been
uncommented. Occasionally, it needed a reboot to get the changes to 'take'.

I would recomend reading up the docs on SSI at
http://www.apache.org/docs/mod/mod_include.html. - I did what it told me,
and it all worked fine/.

CGI I didn't have any problem with, as long as I put them in
/usr/lib/cgi-bin  (default aliased to http:/cgi-bin/) I believe there are
settings to change if you want them anywhere else, but I havn't
investigated those.

Rob.
http://www.irrelevant.com/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: debian 1.3.1 apache

1997-12-27 Thread Hamish Moffatt
On Sat, Dec 27, 1997 at 09:23:19AM +, Rob wrote:
 This may be a bit obvious, but I found, when I was trying to get SSI to
 work, that just editing the conf files was not good enough:  I had to run
 'apacheconfig' afterwards.  Once you have done that, view
 /etc/apache/httpd.conf and check that the line for mod_includes has been
 uncommented. Occasionally, it needed a reboot to get the changes to 'take'.

You're correct; if you let apacheconfig work out which modules
to use itself initially, it won't include mod_include unless you've
used it in your web page (I don't know exactly how it works it out).
I tend to configure it by hand with what I think I might need
rather than what it thinks I already need. That way I don't run in
to problems with things just not working.


Glad to hear that it is working.

Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


debian 1.3.1 apache

1997-12-26 Thread Berni Ernst

Hello,

I have an debian box with version 1.3.1 where I want to run
apache as a http server. Works! But I am unable to run any
cgi scripts or SSI in my html documents. I commented out
the described parts in srm.conf.

What else can I do or where should I have a special
look for ?

thx

berni


 mailto [EMAIL PROTECTED]
 mailto [EMAIL PROTECTED]  - /  -  
 homepage http://homepages.giessen.netsurf.de/~nk00455  /_ 
---   _


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .