[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set up simple cgi web



2008/1/26, hce <webmail.hce@gmail.com>:
> Hi,
>
> I thought if I create /www or /etc/www in my debian PC, and add an
> index.htm and cgi file to cgi-bin directory, I should be able to
> access http://my_ip_address/index.html. But, it did not work. how can
> I make that work?
>
> Thank you.
>

hi,
   apache work on var/www not etc/www. Afterwards, you create the directory on

/var/www not in /etc

if you use apache2, you manually set the dir /var/www in:

/etc/apache2/apache2.conf

regards,

-- 
"In internet reading is equivalent to knowing how to listen in
reality, who knows hear  has the keys to many doors"
Rashna
Micaela Gallerini


Reply to: