<div class="gmail_quote"><br><div class="gmail_quote"><div class="Ih2E3d">On Sat, Oct 25, 2008 at 11:36 AM, Indy Singh <span dir="ltr"><<a href="mailto:indy@indigostar.com" target="_blank">indy@indigostar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Folks,<br>
<br>
I am working on a perl cgi application and I'm wondering if it would be better to split it into two directories in cgi-bin and htdocs, or put all the parts into one directory under htdocs</blockquote></div><div><br>In my case... for my mega cgi-based application, I ended up creating a directory tree<br>
underneath htdocs and adding an entry to httpd.conf for my application set to allow cgi<br>on it, like:<br><br><Directory "/var/www/html/nia"><br> Options FollowSymLinks ExecCGI<br> AddHandler cgi-script .pl<br>
AllowOverride None<br> Order allow,deny<br> Allow from all<br></Directory><br><br>
Sorry, I guess I did this so long ago, that it wasn't called htdocs yet,<br>
but it was still called html.'<br>
<br>Everything is under that directory, the cgi apps, the<br>documentation, etc.<br><br>My excuse (before you start commenting about bad style, or approach) is that...<br>I did this about 10 years ago...<br>I didn't know what I was doing...<br>
I didn't know if I was doing it the 'right way'...<br>... but It works!<br><br>YMMV.<br><br><br></div></div>
</div><br>