Forum

1st time user, need help

Amar
29 December 2010, 12:12

Hiawatha version: 7.4
Operating System: Debian Lenny

Hello

So I just found Hiawatha and I already love it. Lightweight overall

I have this in my hiawatha.conf

VirtualHost {
Hostname = amar.ba
WebsiteRoot = /home/amar/web/amar.ba
StartFile = index.html
AccessLogfile = /home/amar/logs/amar.ba-access.log
ErrorLogfile = /home/amar/logs/amar.ba-error.log
WrapCGI = amar
TimeForCGI = 5
#UseFastCGI = PHP5
#UseToolkit = banshee
}


and in cgi-wrapper.conf I have:

# CGIhandler = /path/to/cgi-handler
#
#CGIhandler = /usr/bin/perl
CGIhandler = /usr/bin/php-cgi
#CGIhandler = /usr/bin/python
#CGIhandler = /usr/bin/ruby
#CGIhandler = /usr/bin/ssi-cgi

# Wrap = <wrap-id>;<cgiroot>;<userid>[:<group>]
#
#Wrap = nobody ; /var/www|nobody ; 65534:65534
#Wrap = somebody ; /var/www/site ; 1001:33,200,201
#Wrap = hugo ; ~hugo ; hugo
Wrap = amar; /home/amar/web/amar.ba ; amar


I can access index.html file but if I create info.php under amar.ba dir I get 403 forbidden all the time. What could be wrong as error.log really displays nothing

Thank you
Hugo Leisink
30 December 2010, 00:40
Try adding "ExecuteCGI = yes" to the VirtualHost block.
Amar
30 December 2010, 15:33
Hello Hugo

That worked well.. Thank you
This topic has been closed.