- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Change the path of the CGI programs
Operating System - Linux
1753331
Members
5341
Online
108792
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2001 02:20 PM
02-06-2001 02:20 PM
Change the path of the CGI programs
I change the directory of CGI progrmas and how to let the web server to find that specific path?
Thanks.
Zhidian Du
Thanks.
Zhidian Du
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 10:14 PM
02-07-2001 10:14 PM
Re: Change the path of the CGI programs
For the moment I will assume that you are using Apache where most Linux people choose it. The directory location of your cgi files is specified in the httpd.conf file usually found in the /etc/httpd/conf directory of newer Apache distributions. There is a configurable in this config file named 'ScriptAlias'. Change this directory to where you want it located. There is also an entry usually right after the ScriptAlias parameter that defines some associated parameters; the directory path needs to be changed here as well. Scan the rest of the file for other references to the original directory path and change any as well (might be one there for ssh stuff). You will need to restart Apache after you are done.
This will usually work out just fine, but there may be some web based applications running on your machine that don't necessarily read this config file completely and may use the default cgi-bin directory under your web server directory location. If you seem to be having troubles it might be a good idea to reboot just to make sure everything goes through a complete startup sequence with the new parameter.
This will usually work out just fine, but there may be some web based applications running on your machine that don't necessarily read this config file completely and may use the default cgi-bin directory under your web server directory location. If you seem to be having troubles it might be a good idea to reboot just to make sure everything goes through a complete startup sequence with the new parameter.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP