cgi-bin folder move to same level as public_html

yiqiang

Verified User
Joined
Mar 9, 2005
Messages
12
Hi im trying to get cgi-bin to be in the same path as public_html folder.

Meaning upon logging in, i see cgi-bin folder next to public_html folder. How can this be done? please advise..
 
You mean as a one-off and not automatically upon domain creation? You just want to see the folder?

Code:
cd ~
ln -s public_html/cgi-bin cgi-bin

If you want to actually MOVE the folder, you'll need to modify the httpd.conf to the correct path. You probably don't want to do this.
 
It will be done for all existing users.
For newly created users in future, i wish to have the same as well.

Will editing the http.conf in apache screw up everything with DirectAdmin?

If not, another solution for me would be to create a folder in public_html eg. www
in www i would have an index.html and instead of going to abc.com/www/index.html, i wish to see it on abc.com/index.html.

Our motive to do this is because customers wish to have a seperate folder for html files, cgi scripts etc.

any advice?
 
Back
Top