![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Losing Market Share to Windows Server - eWeek | iBot | UNIX and Linux RSS News | 0 | 10-25-2007 09:40 PM |
| Linux Losing Market Share to Windows Server - eWeek | iBot | UNIX and Linux RSS News | 0 | 10-25-2007 09:10 PM |
| How to share CGI Scripts across UNIX web server? | karlsworld | Shell Programming and Scripting | 1 | 02-05-2007 09:32 PM |
| how i can share the file between unix or linux in windows ?? | msn22 | Linux | 4 | 12-07-2006 03:13 PM |
| Accessing files on unix share from xp? | MrB | UNIX for Dummies Questions & Answers | 1 | 08-22-2005 03:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to share CGI Scripts across UNIX web server?
Hi, is it possible to create a CGI folder somewhere on the server and allow all domains on that server be able to access the scripts? I tried a ScriptAlias addition in httpd.conf but still no luck. Would greatly appreciate any tips! Thanks.
Linux version 2.4.20-021stab028.3.777-enterprise Plesk 7.5.4 |
|
||||
|
Thanks for the reply! The only experiance I have with mod_rewrite is on a per-domain basis, modifying the .htaccess file if I remember correctly. But if there's a server-wide mod_rewrite possibility, I'll have to explore that avenue. Basically, though, I was looking for a modification at the top level so any domains created in the future would automatically have access to an "extra" cgi folder - one that is shared with all other domains. Unfortunately I'm a complete novice at Unix.
|
|
||||
|
Quote:
Surely mod_rewrite can be configured at httpd.conf. In fact, if you don't want your users to mess with whatever overrides, you should probably not allow them to use .htaccess to override URL rewriting stuff in the first place. Just try the direction and see what you get. |
|
||||
|
Excellent, I'll explore those possibilities and we shall see!
Sysgate, that's a good point, that I can simply use an automated task to duplicate a folder of pre-existing scripts for each newly created (or existing) domain, but I was trying to avoid having to perform that same task every time a script was updated. In my search for an answer, I did come across what looked like the ability to make a "default" cgi-bin folder that was pre-filled with scripts, and that could be added to each new domain by default. But was looking for more of a "shared" solution so that they could all access any updated scripts without having to copy it to each individual cgi-bin folder every time. Great idea though. cbkihong, so far your mod_rewrite suggestion seems like it may be closest solution to what I'm looking for, so I am going to do some experimenting with that. Thanks again guys! |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|