Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am following this tutorial and it is asking me to save proxy.cgi in the /var/www/cgi-bin directory.

There is no directory in www with the name cgi-bin. Do I need to create a directory there? I think the tutorial's guidance is for a RPM-based linux distribution, but I may be wrong.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

On Ubuntu, the standard cgi-bin directory is /usr/lib/cgi-bin.

share|improve this answer
    
Can we create cgi-bin in /var/www?? –  Sam007 May 22 '12 at 1:22
    
You can if you want. Just update your apache config to find it there. –  tumbleweed May 22 '12 at 17:42
    
I am new to Ubuntu, could tell me how can i update apache config and what should i enter? –  Sam007 May 22 '12 at 17:43
    
You'd change the ScriptAlias line in /etc/apache2/sites-available/default (or add one to applicable vhost) –  tumbleweed May 23 '12 at 18:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.