Archive for May, 2008

Configure Apache to serve PERL pages ( Ubuntu )

Friday, May 30th, 2008

I just reinstalled my ubuntu distribution, and have to configure apache to serve perl pages outside of the cgi-bin directory, after a little bit of googling i found the solution. You have to edit the /etc/apache2/apache2.conf and add to it the following lines. AddHandler cgi-script .cgi .pl Options +ExecCGI Options +ExecCGI

Stop apache showing incomplete urls

Thursday, May 22nd, 2008

Apache was showing files even if i didn't put the extension on the url, that behavior was messing with a mod rewrite rule i was working on. To solve this we just add the line below to the .htaccess file and that's it apache will stop showing incomplete urls Options ...