ispman/install-data/templates vhosts.conf.template,1.18,1.19
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/install-data/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25779
Modified Files:
vhosts.conf.template
Log Message:
fixed bug [ 1037077 ] ExecCGI for ScriptDir always on
(thanks to micha137)
Index: vhosts.conf.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/vhosts.conf.template,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- vhosts.conf.template 9 Jul 2004 22:19:14 -0000 1.18
+++ vhosts.conf.template 29 Sep 2004 20:46:12 -0000 1.19
@@ -12,14 +12,25 @@
$ServerAliases </perl>
<perl>$urlredirect</perl>
DocumentRoot <perl>$documentroot</perl>
- ScriptAlias /cgi-bin/ <perl>$scriptdir</perl>/
CustomLog <perl>"$logdir/$servername.access"</perl> combined
ErrorLog <perl>"$logdir/$servername.errors"</perl>
<perl>$statalias</perl>
<perl>$ispmanVhostExtraConf</perl>
<Directory <perl>$documentroot</perl>>
- <perl>$ispmanVhostDocumentRootOption</perl>
+ <perl>$ispmanVhostDocumentRootOption</perl>
+ AllowOverride FileInfo AuthConfig Limit Indexes
</Directory>
+<perl>
+ if($ispmanVhostScriptDirOption =~ /ExecCGI/) {
+ $OUT .= " ScriptAlias /cgi-bin/ $scriptdir/\n";
+ $OUT .= " <Directory $scriptdir>\n";
+ $OUT .= " $ispmanVhostScriptDirOption\n";
+ $OUT .= " AllowOverride FileInfo AuthConfig Limit Indexes\n";
+ $OUT .= " </Directory>\n";
+ }
+</perl>
+
+
<Directory <perl>$scriptdir</perl>>
<perl>$ispmanVhostScriptDirOption</perl>
</Directory>
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl