Thread: Apache
salvete omnes,
have issue few people going want me with. i'm trying configure apache on present system can run perl cgi programs locally. feel perl developing well, i've reached plateau, , wish go further learning cgi programming.
problem is, can't seem of example programs work. after bit of research, seems need configure apache recognize cgi scripts. i've tried numerous places, of explanations go on head still novice linux user. know how compile c program, mkdir, cd, ls, cat ... , we're stretching capabilities. continue learn every day, , have bought few books helping me there. bought apache book, it's not helping me much.
question: can me set apache @ least point can run cgi scripts? assume have done nothing further than: sudo apt-get install apache2.
don't have cgi-bin dir yet don't know these belong, or how script-alias.
if me favor i'd grateful.
you need add sites file. not sure in ubuntu.
mine, can use make work you.
code:<ifmodule alias_module> scriptalias /cgi-bin/ "/var/www/localhost/cgi-bin/" </ifmodule> # "/var/www/localhost/cgi-bin" should changed whatever scriptaliased # cgi directory exists, if have configured. <directory "/var/www/localhost/cgi-bin"> allowoverride none options none order allow,deny allow </directory>
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [all variants] Apache
Ubuntu
Comments
Post a Comment