hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : General cgi-sys directory under apache
Reply

Hosting Software and Control Panels Software used in the web hosting industry. Topics include control panels, add-on software, setup scripts, etc.
Forum Jump

General cgi-sys directory under apache

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-02-2001, 11:50 AM
NHosting NHosting is offline
Newbie
 
Join Date: Nov 2000
Posts: 28
Question

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

Reply With Quote


Sponsored Links
  #2  
Old 04-02-2001, 01:57 PM
Phiberop Phiberop is offline
Web Hosting Guru
 
Join Date: Mar 2001
Posts: 250
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

Reply With Quote
  #3  
Old 04-02-2001, 08:53 PM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
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.

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
Sponsored Links
  #4  
Old 04-02-2001, 09:27 PM
Phiberop Phiberop is offline
Web Hosting Guru
 
Join Date: Mar 2001
Posts: 250
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

Reply With Quote
  #5  
Old 04-09-2001, 08:04 AM
NHosting NHosting is offline
Newbie
 
Join Date: Nov 2000
Posts: 28
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

Reply With Quote
  #6  
Old 04-09-2001, 11:13 AM
Phiberop Phiberop is offline
Web Hosting Guru
 
Join Date: Mar 2001
Posts: 250
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

Reply With Quote
  #7  
Old 04-09-2001, 11:25 AM
NHosting NHosting is offline
Newbie
 
Join Date: Nov 2000
Posts: 28
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

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?