NHosting
04-02-2001, 11:50 AM
I would like to create a general cgi-sys directory in the server. I will install in it some program like FormMail, counter and other.
Have I to use the ScriptAlias directive in apache ?
ScriptAlias /cgi-sys/ "/usr/local/cgi-sys/"
is this correct ?
Thank you
NHosting
Phiberop
04-02-2001, 01:57 PM
Hello,
Yes that is correct, just be sure you chmod the /usr/local/cgi-sys to 755 and restart apache after you add the Scriptalias and you will be ok.
Regards,
Mike
Chicken
04-02-2001, 08:53 PM
Now this is something I've really been meaning to do myself. Mostly for FormMail, but what about the spam issue that was brought up with this script? Hardcoding the script blah blah blah and what is the proper way to chmod a directory?
chmod /usr/local/cgi-sys 755
or should you cd to local and
chmod cgi-sys 755
or does it matter? RaQ4r by the way, in case that matters.
Phiberop
04-02-2001, 09:27 PM
Im not sure if it matters or not, but when I setup mine (RaQ4i) I did chmod 755 /home/sites/home/web/cgi-pub
Everything has been working Ok.
Regards,
Mike
NHosting
04-09-2001, 08:04 AM
I have tried even to add a :
Alias /sql /path/to/phpmyadmin
When I try to connect to http:/somedomain.com/mysql
I see the list of the files in the directory and if I choose index.php he give me a "file not found" page.
Have I to add some more thing with the Alias ?
Thank you
NHosting
Phiberop
04-09-2001, 11:13 AM
Not sure if it's a typo or not but you said you added /sql /path/to/phpmyadmin but you were trying to visit domain.com/mysql. Also you want to make it a ScriptAlias not just an Alias. You would also want to upload the script to share in the /path/to/script.
It looks to me like you are trying to install phpMyAdmin to multiple users, not 100% sure but I don't think it will work well if at all that way.
Regards,
Mike
NHosting
04-09-2001, 11:25 AM
I would like to create a one only copy of phpmyadmin in the server and I would like that my customer can access it via a simple http://www.clientdomain.com/dirphpmyadmin
I have used Alias but it isn' work.
If I try to use ScriptAlias i receive "Access Denied" Error.
Thank you
NHosting