Răsfoiți Sursa

mod_fcgid support

Serghey Rodin 13 ani în urmă
părinte
comite
6628276862

+ 1 - 1
bin/v-add-web-domain

@@ -134,7 +134,7 @@ chown root:apache $conf
 chmod 660 $conf
 chmod 551 $HOMEDIR/$user/web/$domain
 chmod 771 $HOMEDIR/$user/web/$domain/private
-chmod 771 $HOMEDIR/$user/web/$domain/cgi-bin
+chmod 751 $HOMEDIR/$user/web/$domain/cgi-bin
 chmod 771 $HOMEDIR/$user/web/$domain/public_html
 chmod 771 $HOMEDIR/$user/web/$domain/public_shtml
 chmod 771 $HOMEDIR/$user/web/$domain/document_errors

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_default.stpl

@@ -34,7 +34,7 @@
         AssignUserID %user% %group%
     </IfModule>
 
-    Include %home%/%user%/conf/shttpd.%domain%.conf*
+    Include %home%/%user%/conf/web/shttpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_default.tpl

@@ -28,7 +28,7 @@
         AssignUserID %user% %group%
     </IfModule>
 
-    Include %home%/%user%/conf/httpd.%domain%.conf*
+    Include %home%/%user%/conf/web/httpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_hosting.stpl

@@ -43,7 +43,7 @@
         AssignUserID %user% %group%
     </IfModule>
 
-    Include %home%/%user%/conf/shttpd.%domain%.conf*
+    Include %home%/%user%/conf/web/shttpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_hosting.tpl

@@ -37,7 +37,7 @@
         AssignUserID %user% %group%
     </IfModule>
 
-    Include %home%/%user%/conf/httpd.%domain%.conf*
+    Include %home%/%user%/conf/web/httpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_phpcgi.stpl

@@ -28,7 +28,7 @@
     SSLCertificateKeyFile %ssl_key%
     %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
 
-    Include %home%/%user%/conf/shttpd.%domain%.conf*
+    Include %home%/%user%/conf/web/shttpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_phpcgi.tpl

@@ -21,7 +21,7 @@
     <Directory %home%/%user%/web/%domain%/stats>
         AllowOverride All
     </Directory>
-    Include %home%/%user%/conf/httpd.%domain%.conf*
+    Include %home%/%user%/conf/web/httpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_phpfcgid.stpl

@@ -29,7 +29,7 @@
     SSLCertificateKeyFile %ssl_key%
     %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
 
-    Include %home%/%user%/conf/shttpd.%domain%.conf*
+    Include %home%/%user%/conf/web/shttpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/0.9.7/rhel/templates/web/apache_phpfcgid.tpl

@@ -21,7 +21,7 @@
     <Directory %home%/%user%/web/%domain%/stats>
         AllowOverride All
     </Directory>
-    Include %home%/%user%/conf/httpd.%domain%.conf*
+    Include %home%/%user%/conf/web/httpd.%domain%.conf*
 
 </VirtualHost>
 

+ 1 - 1
install/vst-install.sh

@@ -14,7 +14,7 @@ tools="screen mc libpng libjpeg curl curl libmcrypt libmcrypt mhash mhash
     freetype openssl flex libxml2 ImageMagick sqlite sqlite pcre pcre sudo bc
     mailx lsof ntp tar whois telnet rsync"
 
-rpms="nginx httpd mod_ssl mod_ruid2 mod_extract_forwarded ftp
+rpms="nginx httpd mod_ssl mod_ruid2 mod_extract_forwarded mod_fcgid ftp
     webalizer awstats mysql mysql-server php php-bcmath php-cli php-common
     php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy
     php-xml php-xmlrpc phpMyAdmin exim dovecot clamd spamassassin roundcubemail