Guest User

Untitled

a guest
Aug 21st, 2018
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.53 KB | None | 0 0
  1. <IfModule php5_module>
  2. PHPIniDir C:/Wamp/bin/php/php5.5.12
  3. </IfModule>
  4. LoadModule fcgid_module modules/mod_fcgid.so
  5. <IfModule fcgid_module>
  6. FcgidInitialEnv PATH "C:/Wamp/bin/php/php5.5.31-nts;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;"
  7. FcgidInitialEnv SystemRoot "C:/Windows"
  8. FcgidInitialEnv SystemDrive "C:"
  9. FcgidInitialEnv TEMP "C:/Wamp/tmp"
  10. FcgidInitialEnv TMP "C:/Wamp/tmp"
  11. FcgidInitialEnv windir "C:/WINDOWS"
  12. FcgidIOTimeout 64
  13. FcgidConnectTimeout 16
  14. FcgidMaxRequestsPerProcess 1000
  15. FcgidMaxProcesses 3
  16. FcgidMaxRequestLen 8131072
  17. #FcgidConfig -idle-timeout 110 -killInterval 120 -pass-header HTTP_AUTHORIZATION -autoUpdate
  18. # Location php.ini:
  19. FcgidInitialEnv PHPRC "C:/Wamp/bin/php/php5.5.31-nts"
  20. FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
  21.  
  22. <Files ~ ".php$">
  23. Options Indexes FollowSymLinks ExecCGI
  24. AddHandler fcgid-script .php
  25. FcgidWrapper "C:/Wamp/bin/php/php5.5.31-nts/php-cgi.exe" .php
  26. </Files>
  27. </IfModule>
  28.  
  29. Listen 54
  30. <VirtualHost *:54>
  31. DocumentRoot "C:/WWWROOT/"
  32.  
  33. #SetEnv PHPRC "C:/Wamp/bin/php/php5.4.45-nts"
  34. #ScriptAlias /php5445/ "C:/Wamp/bin/php/php5.4.45-nts"
  35. #Action php5445-script /php5445/php-cgi.exe
  36. #AddHandler php5445-script .php
  37.  
  38.  
  39. FcgidInitialEnv PHPRC "C:/Wamp/bin/php/php5.4.45-nts"
  40. AddHandler fcgid-script .php
  41. FcgidWrapper "C:/Wamp/bin/php/php5.4.45-nts" .php
  42.  
  43.  
  44. #<Directory "C:/Wamp/bin/php/php5.4.45-nts">
  45. # Options Indexes FollowSymLinks Includes ExecCGI
  46. # AllowOverride All
  47. # Require all granted
  48. # Order Allow,Deny
  49. # Allow from all
  50. #</Directory>
  51.  
  52. <Directory "C:/WWWROOT/">
  53. Options Indexes FollowSymLinks Includes ExecCGI
  54. AllowOverride All
  55. Require all granted
  56. Order Allow,Deny
  57. Allow from all
  58. </Directory>
  59. </VirtualHost>
  60.  
  61. Listen 52
  62. <VirtualHost *:52>
  63.  
  64. DocumentRoot "C:/WWWROOT/"
  65. #SetEnv PHPRC "C:/Wamp/bin/php/php5.2.17-nts"
  66. #ScriptAlias /php5217/ "C:/Wamp/bin/php/php5.2.17-nts"
  67. #Action php5217-script /php5217/php-cgi.exe
  68. #AddHandler php5217-script .php
  69.  
  70.  
  71. FcgidInitialEnv PHPRC "C:/Wamp/bin/php/php5.4.45-nts"
  72. AddHandler fcgid-script .php
  73. FcgidWrapper "C:/Wamp/bin/php/php5.4.45-nts" .php
  74.  
  75. #<Directory "C:/Wamp/bin/php/php5.2.17-nts">
  76. # Options Indexes FollowSymLinks Includes ExecCGI
  77. # AllowOverride All
  78. # Require all granted
  79. # Order Allow,Deny
  80. # Allow from all
  81. #</Directory>
  82. <Directory "C:/WWWROOT/">
  83. Options Indexes FollowSymLinks Includes ExecCGI
  84. AllowOverride All
  85. Require all granted
  86. Order Allow,Deny
  87. Allow from all
  88. </Directory>
  89.  
  90. <VirtualHost 0.0.0.0:80>
  91. ServerAdmin "brko28@hotmail.com"
  92. DocumentRoot "/www/www"
  93. ServerName "localhost"
  94. ServerAlias "localhost"
  95. ScriptAlias /cgi-bin/ "/www/www/cgi-bin/"
  96. Options Indexes FollowSymLinks
  97. DirectoryIndex index.php index.html index.htm index.cgi default.html default.htm index.pl index.shtml default.php default.pl default.cgi default.shtml home.php home.pl home.cgi home.shtml home.html home.htm
  98. IndexOptions FancyIndexing IconHeight=22 IconWidth=18 NameWidth=50 IgnoreCase FoldersFirst
  99. AddType text/html .php .php3 .php4 .php5 .phps .shtml
  100. DefaultType text/plain
  101. <IfModule fcgid_module>
  102. Options +ExecCGI
  103. FcgidInitialEnv PATH "wwwphpencoders_new;wwwimagemagick;wwwphpbash;wwwperlbin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem"
  104. FcgidInitialEnv MIBDIRS "wwwphpx64ntsphp5.3.29VC9extrasmibs"
  105. FcgidInitialEnv PHP_PEAR_SYSCONF_DIR "wwwphpx64ntsphp5.3.29VC9"
  106. FcgidInitialEnv PHPRC "wwwphpx64ntsphp5.3.29VC9"
  107. AddHandler fcgid-script .php .php3 .php4 .php5 .phps .cgi .pl .fcgi
  108. #FcgidWrapper "/www/php/x64/nts/php5.3.29VC9/php-cgi.exe" .php
  109. </IfModule>
  110. #
  111. # The following lines prevent .htaccess and .htpasswd files from being
  112. # viewed by Web clients.
  113. #
  114. <FilesMatch "^.ht">
  115. Require all denied
  116. Satisfy All
  117. </FilesMatch>
  118. <IfModule autoindex_module>
  119. IndexIgnore .htaccess
  120. </IfModule>
  121. <Directory "/www/www/cgi-bin">
  122. DefaultType text/html
  123. Options -Indexes +ExecCGI
  124. AllowOverride None
  125. Require all granted
  126. SetHandler cgi-script
  127. </Directory>
  128. <Location "/cgi-bin">
  129. SetHandler cgi-script
  130. Options +ExecCGI
  131. </Location>
  132. <Directory "/www/www">
  133. Options Indexes FollowSymLinks
  134. AllowOverride All
  135. Require all granted
  136. AddType text/html .php .php3 .php4 .php5 .phps .shtml
  137. DirectoryIndex index.php index.html index.htm index.cgi default.html default.htm index.pl index.shtml default.php default.pl default.cgi default.shtml home.php home.pl home.cgi home.shtml home.html home.htm
  138. <IfModule fcgid_module>
  139. Options +ExecCGI
  140. <Files ~ ".(php|phtml)$">
  141. AddHandler fcgid-script .php .php3 .php4 .php5 .phps .cgi .pl .fcgi
  142. FcgidWrapper "/www/php/x64/nts/php5.3.29VC9/php-cgi.exe" .php
  143. #
  144. # Taken care of in mod_fcgid.conf with: FcgidPassHeader Authorization
  145. RewriteEngine On
  146. RewriteCond %{HTTP:Authorization} ^(.*)
  147. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
  148. </Files>
  149. </IfModule>
  150. <IfModule php5_module>
  151. AddType application/x-httpd-php .phtml .pwml .php5 .php4 .php3 .php2 .php .inc
  152. AddHandler application/x-httpd-php .php
  153. AddHandler application/x-httpd-php-source .phps
  154. <IfModule php5_module>
  155. php_admin_flag apc.enabled Off
  156. </IfModule>
  157. </IfModule>
  158. </Directory>
  159. Include "conf/extra/php53/*.conf"
  160. </VirtualHost>
  161.  
  162. Listen 0.0.0.0:83
  163. #
  164. <VirtualHost 0.0.0.0:83>
  165. ServerAdmin "brko28@hotmail.com"
  166. DocumentRoot "/www/vhdoc"
  167. ServerName "localhost:83"
  168. ServerAlias "localhost:83"
  169. ScriptAlias /cgi-bin/ "/www/vhdoc/cgi-bin/"
  170. Options Indexes FollowSymLinks
  171. DirectoryIndex index.php index.html index.htm index.cgi default.html default.htm index.pl index.shtml default.php default.pl default.cgi default.shtml home.php home.pl home.cgi home.shtml home.html home.htm
  172. IndexOptions FancyIndexing IconHeight=22 IconWidth=18 NameWidth=50 IgnoreCase FoldersFirst
  173. AddType text/html .php .php3 .php4 .php5 .phps .shtml
  174. DefaultType text/plain
  175. <IfModule fcgid_module>
  176. Options +ExecCGI
  177. FcgidInitialEnv PATH "wwwphpencoders_new;wwwimagemagick;wwwphpbash;wwwperlbin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem"
  178. FcgidInitialEnv MIBDIRS "wwwphpx64ntsphp5.5.38VC11extrasmibs"
  179. FcgidInitialEnv PHP_PEAR_SYSCONF_DIR "wwwphpx64ntsphp5.5.38VC11"
  180. FcgidInitialEnv PHPRC "wwwphpx64ntsphp5.5.38VC11"
  181. AddHandler fcgid-script .php .php3 .php4 .php5 .phps .cgi .pl .fcgi
  182. #FcgidWrapper "/www/php/x64/nts/php5.5.38VC11/php-cgi.exe" .php
  183. </IfModule>
  184. #
  185. # The following lines prevent .htaccess and .htpasswd files from being
  186. # viewed by Web clients.
  187. #
  188. <FilesMatch "^.ht">
  189. Require all denied
  190. Satisfy All
  191. </FilesMatch>
  192. <IfModule autoindex_module>
  193. IndexIgnore .htaccess
  194. </IfModule>
  195. <Directory "/www/vhdoc/cgi-bin">
  196. DefaultType text/html
  197. Options -Indexes +ExecCGI
  198. AllowOverride None
  199. Require all granted
  200. SetHandler cgi-script
  201. </Directory>
  202. <Location "/cgi-bin">
  203. SetHandler cgi-script
  204. Options +ExecCGI
  205. </Location>
  206. <Directory "/www/vhdoc">
  207. Options Indexes FollowSymLinks
  208. AllowOverride All
  209. Require all granted
  210. AddType text/html .php .php3 .php4 .php5 .phps .shtml
  211. DirectoryIndex index.php index.html index.htm index.cgi default.html default.htm index.pl index.shtml default.php default.pl default.cgi default.shtml home.php home.pl home.cgi home.shtml home.html home.htm
  212. <IfModule fcgid_module>
  213. Options +ExecCGI
  214. <Files ~ ".(php|phtml)$">
  215. AddHandler fcgid-script .php .php3 .php4 .php5 .phps .cgi .pl .fcgi
  216. FcgidWrapper "/www/php/x64/nts/php5.5.38VC11/php-cgi.exe" .php
  217. #
  218. # Taken care of in mod_fcgid.conf with: FcgidPassHeader Authorization
  219. RewriteEngine On
  220. RewriteCond %{HTTP:Authorization} ^(.*)
  221. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
  222. </Files>
  223. </IfModule>
  224. <IfModule php5_module>
  225. AddType application/x-httpd-php .phtml .pwml .php5 .php4 .php3 .php2 .php .inc
  226. AddHandler application/x-httpd-php .php
  227. AddHandler application/x-httpd-php-source .phps
  228. <IfModule php5_module>
  229. php_admin_flag apc.enabled Off
  230. </IfModule>
  231. </IfModule>
  232. </Directory>
  233. Include "conf/extra/php55/*.conf"
  234. </VirtualHost>
  235.  
  236. Listen 0.0.0.0:82
  237. #
  238. <VirtualHost 0.0.0.0:82>
  239. ServerAdmin "brko28@hotmail.com"
  240. DocumentRoot "/www/vhdoc"
  241. ServerName "localhost:82"
  242. ServerAlias "localhost:82"
  243. ScriptAlias /cgi-bin/ "/www/vhdoc/cgi-bin/"
  244. Options Indexes FollowSymLinks
  245. DirectoryIndex index.php index.html index.htm index.cgi default.html default.htm index.pl index.shtml default.php default.pl default.cgi default.shtml home.php home.pl home.cgi home.shtml home.html home.htm
  246. IndexOptions FancyIndexing IconHeight=22 IconWidth=18 NameWidth=50 IgnoreCase FoldersFirst
  247. AddType text/html .php .php3 .php4 .php5 .phps .shtml
  248. DefaultType text/plain
  249. <IfModule fcgid_module>
  250. Options +ExecCGI
  251. FcgidInitialEnv PATH "wwwphpencoders_new;wwwimagemagick;wwwphpbash;wwwperlbin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem"
  252. FcgidInitialEnv MIBDIRS "wwwphpx64ntsphp5.4.45VC9extrasmibs"
  253. FcgidInitialEnv PHP_PEAR_SYSCONF_DIR "wwwphpx64ntsphp5.4.45VC9"
  254. FcgidInitialEnv PHPRC "wwwphpx64ntsphp5.4.45VC9"
  255. AddHandler fcgid-script .php .php3 .php4 .php5 .phps .cgi .pl .fcgi
  256. #FcgidWrapper "/www/php/x64/nts/php5.4.45VC9/php-cgi.exe" .php
  257. </IfModule>
  258. #
  259. # The following lines prevent .htaccess and .htpasswd files from being
  260. # viewed by Web clients.
  261. #
  262. <FilesMatch "^.ht">
  263. Require all denied
  264. Satisfy All
  265. </FilesMatch>
  266. <IfModule autoindex_module>
  267. IndexIgnore .htaccess
  268. </IfModule>
  269. <Directory "/www/vhdoc/cgi-bin">
  270. DefaultType text/html
  271. Options -Indexes +ExecCGI
  272. AllowOverride None
  273. Require all granted
  274. SetHandler cgi-script
  275. </Directory>
  276. <Location "/cgi-bin">
  277. SetHandler cgi-script
  278. Options +ExecCGI
  279. </Location>
  280. <Directory "/www/vhdoc">
  281. Options Indexes FollowSymLinks
  282. AllowOverride All
  283. Require all granted
  284. AddType text/html .php .php3 .php4 .php5 .phps .shtml
  285. DirectoryIndex index.php index.html index.htm index.cgi default.html default.htm index.pl index.shtml default.php default.pl default.cgi default.shtml home.php home.pl home.cgi home.shtml home.html home.htm
  286. <IfModule fcgid_module>
  287. Options +ExecCGI
  288. <Files ~ ".(php|phtml)$">
  289. AddHandler fcgid-script .php .php3 .php4 .php5 .phps .cgi .pl .fcgi
  290. FcgidWrapper "/www/php/x64/nts/php5.4.45VC9/php-cgi.exe" .php
  291. #
  292. # Taken care of in mod_fcgid.conf with: FcgidPassHeader Authorization
  293. RewriteEngine On
  294. RewriteCond %{HTTP:Authorization} ^(.*)
  295. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
  296. </Files>
  297. </IfModule>
  298. <IfModule php5_module>
  299. AddType application/x-httpd-php .phtml .pwml .php5 .php4 .php3 .php2 .php .inc
  300. AddHandler application/x-httpd-php .php
  301. AddHandler application/x-httpd-php-source .phps
  302. <IfModule php5_module>
  303. php_admin_flag apc.enabled Off
  304. </IfModule>
  305. </IfModule>
  306. </Directory>
  307. Include "conf/extra/php54/*.conf"
  308. </VirtualHost>
  309.  
  310. LoadModule fcgid_module modules/mod_fcgid.so
  311. #
  312. <IfModule fcgid_module>
  313. FcgidInitialEnv PATH "/www/php/encoders_new;/www/php/mplayer;/www/imagemagick;/www/php/bash;F:/www/perl/perl/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem"
  314. FcgidInitialEnv SystemRoot "C:/Windows"
  315. FcgidInitialEnv SystemDrive "C:"
  316. FcgidInitialEnv TEMP "/www/php/tmp"
  317. FcgidInitialEnv TMP "/www/php/tmp"
  318. FcgidInitialEnv windir "C:/WINDOWS"
  319. FcgidInitialEnv MIBDIRS "/www/php/x64/nts/php5.3.29VC9/extras/mibs"
  320. FcgidInitialEnv MYSQL_HOME "/www/MySQL5.1.68/bin"
  321. FcgidInitialEnv OPENSSL_CONF "/www/apache2.4.34x64-VC14/conf/openssl.cnf"
  322. FcgidInitialEnv MAGICK_HOME "/www/imagemagick"
  323. FcgidInitialEnv PERL "F:/www/perl/perl/bin"
  324. FcgidInitialEnv PERL5LIB "F:/www/perl/perl/site/lib;F:/www/perl/perl/lib"
  325. FcgidInitialEnv FFMPEG "/www/php/encoders_new"
  326. FcgidInitialEnv FFMPEG_DATADIR "/www/php/encoders_new/ffpresets"
  327. #
  328. FcgidInitialEnv PHP_FCGI_CHILDREN 0
  329. #
  330. # Set PHP_FCGI_MAX_REQUESTS to greater than or equal to FcgidMaxRequestsPerProcess
  331. # to prevent php-cgi process from exiting before all requests completed
  332. FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
  333. #
  334. # php.ini defaults to cgi.fix_pathinfo = 1
  335. # instructions say mirror php.ini value, but Joomla won't work
  336. # perhaps this applies the path fix again?
  337. # Set 1, if cgi.fix_pathinfo=1 in php.ini
  338. FcgidFixPathinfo 0
  339. #
  340. # The FastCGI application must begin generating the response within this period of time.
  341. # Number of seconds of idle time before a php-cgi process is terminated (Default: 40)
  342. FcgidIOTimeout 8200
  343. #
  344. # Application processes which have not handled a request for this period of time will be terminated,
  345. # if the number of processses for the class exceeds FcgidMinProcessesPerClass (3) (Default: 300) 240
  346. FcgidIdleTimeout 300
  347. #
  348. # FastCGI application will be killed after handling a request for FcgidBusyTimeout (Default: 300)
  349. FcgidBusyTimeout 300
  350. #
  351. # Scan interval for busy timeout process (Default: 120)
  352. FcgidBusyScanInterval 120
  353. #
  354. # Scan interval for exited process (Default: 3)
  355. FcgidErrorScanInterval 3
  356. #
  357. # Full path to FastCGI access checker (Default: none)
  358. #FcgidAccessChecker
  359. #
  360. # Set to 'off' to allow access control to be passed along to lower modules upon failure (On|Off, Default: On)
  361. #FcgidAccessCheckerAuthoritative On
  362. #
  363. # Full path to FastCGI authenticator (Default: none)
  364. #FcgidAuthenticator
  365. #
  366. # Set to 'off' to allow authentication to be passed along to lower modules upon failure (On|Off, Default: On)
  367. #FcgidAuthenticatorAuthoritative On
  368. #
  369. # Full path to FastCGI authorizer (Default: none)
  370. #FcgidAuthorizer
  371. #
  372. # Set to 'off' to allow authorization to be passed along to lower modules upon failure (On|Off, Default: On)
  373. #FcgidAuthorizerAuthoritative On
  374. #
  375. # Scan interval for idle timeout process (Default: 120)
  376. FcgidIdleScanInterval 120
  377. #
  378. # Maximum size of a request which will be held in memory (Default: 65536)
  379. FcgidMaxRequestInMem 65536
  380. #
  381. # Shared memory file path (Default: logs/fcgid_shm)
  382. #FcgidProcessTableFile "../logs/fcgid_shm"
  383. #
  384. # Directory for AF_UNIX sockets (Unix) or pipes (Windows) (Default: logs/fcgidsock)
  385. #FcgidIPCDir "../logs/fcgidsock"
  386. #
  387. # Each spawn adds this value to the process activity score (Default: 1)
  388. #FcgidSpawnScore 1
  389. #
  390. # Maximum value of the process activity score which allows a spawn to occur (Default: 10)
  391. # Limit on rate of spawning new application processes
  392. #FcgidSpawnScoreUpLimit 10
  393. #
  394. # Each terminated process adds this value to the process activity score (Default: 2)
  395. #FcgidTerminationScore 2
  396. #
  397. # Set processing options for a FastCGI command
  398. #FcgidCmdOptions
  399. #
  400. # Job Control orphan prevention for fcgi workers. (On|Off, Default: Off)
  401. FcgidWin32PreventOrphans Off
  402. #
  403. # Maximum period of time the module will wait while trying to connect to a FastCGI application on Windows (Default: 3).
  404. FcgidConnectTimeout 400
  405. #
  406. # Maximum number of FastCGI application processes which can be active at one time (Default: 1000).(32)
  407. # Global limit on number of processes
  408. FcgidMaxProcesses 1000
  409. #
  410. # Set to 1/2 FcgidMaxProcesses so one VirtualHost can't take up all processes. (Default: 100) 300
  411. # Limit on number of processes per application
  412. FcgidMaxProcessesPerClass 500
  413. #
  414. # Scan interval for zombie process (Default: 3)
  415. FcgidZombieScanInterval 20
  416. #
  417. # Maximum HTTP request length (Default: 131072) in Bytes
  418. FcgidMaxRequestLen 1000000000
  419. #
  420. # Amount subtracted from process activity score each second (Default: 1)
  421. FcgidTimeScore 3
  422. #
  423. # CGI output buffer size (Default: 65536) 64 100
  424. FcgidOutputBufferSize 65536
  425. #
  426. # Maximum FastCGI application process lifetime (Default: 3600)
  427. FcgidProcessLifeTime 8200
  428. #
  429. # Each FastCGI application process will be terminated after handling the specified number of requests.
  430. # A value of 0 disables the check.
  431. FcgidMaxRequestsPerProcess 1000
  432. #
  433. # Min process count of one class of FastCGI application (Default: 3) 0
  434. FcgidMinProcessesPerClass 0
  435. #
  436. # Needed for user authorization (login) to work (with phpmyadmin and all other scripts)
  437. # Header name which will be passed to FastCGI as environment variable
  438. FcgidPassHeader Authorization
  439. FcgidPassHeader Proxy-Authorization
  440. FcgidPassHeader HTTP_AUTHORIZATION
  441. #
  442. #FcgidPassHeader Range
  443. #FcgidPassHeader If-Range
  444. #FcgidPassHeader If-Unmodified-Since
  445. #FcgidPassHeader If-Modified-Since
  446. #FcgidPassHeader If-Match
  447. #FcgidPassHeader If-None-Match
  448. #
  449. # environment variables for the IIP server
  450. #
  451. Include "conf/extra/mod_fcgid.conf"
  452. </IfModule>
Add Comment
Please, Sign In to add comment