TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:21400] cgibin help
use this:
ScriptAlias /cgi-bin/ /usr/users/work/cgi-bin/
instead of this:
ScriptAlias /cgibin/ work.apu.homeip.net/cgibin/
and make sure the directory exists.
Mohammed W Islam wrote:
>
> I can't get my cgibin to work!
> I have tried ScriptAlias, .htaccess and all. I get Forbidden
> error all the time.
>
> I am including the relevant lines from the httpd.conf file from
> the server. You are welcomed to login to the server as tclug
> and tclug at apu.homeip.net
>
> Feel free to mess around and suggest me anyhting.
>
> apu
>
> ......httpd.conf.....
>
> # Here are the virtual hosts I have defined on 8.31.00
>
> NameVirtualHost 24.26.174.211
>
> <VirtualHost apu.homeip.net>
> ServerName apu.homeip.net
> DocumentRoot /usr/users/apu/www
> </VirtualHost>
>
> <VirtualHost work.apu.homeip.net>
> ServerName work.apu.homeip.net
> DocumentRoot /usr/users/work/www
> <Directory "/usr/users/work/www">
> AllowOverride None
> Options all
> Order allow,deny
> Allow from all
> </Directory>
>
> ScriptAlias /cgibin/ work.apu.homeip.net/cgibin/
>
> </VirtualHost>
>
> <VirtualHost leffew.apu.homeip.net>
> ServerName leffew.apu.homeip.net
> DocumentRoot /usr/users/leffew/www
> </VirtualHost>
>
> <VirtualHost apu.homeip.net>
> ServerName polash.apu.homeip.net
> DocumentRoot /usr/users/polash/www
> </VirtualHost>
>
> <VirtualHost sayed.apu.homeip.net>
> ServerName sayed.apu.homeip.net
> DocumentRoot /usr/users/sayed/www
> </VirtualHost>
>
> <VirtualHost joe.apu.homeip.net>
> ServerName joe.apu.homeip.net
> ScriptAlias /cgibin/ joe.apu.homeip.net/cgibin/
>
> DocumentRoot /usr/users/jceddy/www
> </VirtualHost>
>
> #....End of httpd.conf
>
> -----
> Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> The FREE way to access your mailbox via any web browser, anywhere!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
--
Troy Johnson mailto:john1536@tc.umn.edu http://umn.edu/~john1536/
Yesterday I found out what doughnuts are for. You put them on
doughbolts. They hold dough airplanes together. For kids, they
make erector sets out of play-dough.
-- Stephen Wright