Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.70 KB | None | 0 0
  1. THIS IS THE CONFIG.PHP OF MY ACC.REG. Pack
  2.  
  3.  
  4. */
  5.  
  6. // MYSQL Beállítások
  7. $mysql = array(
  8.  
  9. "host" => "127.0.0.1",
  10. "username" => "root",
  11. "password" => "something",
  12. "realmd" => "auth"
  13.  
  14. );
  15.  
  16. // OLDAL BEÁLLÍTÁSOK
  17. $site = array(
  18.  
  19. "title" => "New Vegas - Account regisztráció", // Oldal cím
  20. "meta_description" => "Account regisztráció", // Meta leírása
  21. "meta_keywords" => "wow,account,reg,tört,szerver,ingyenes,free,realm,wotlk,bc,cataclysm", // Meta kulcsszavak
  22. "meta_robots" => "INDEX,NOFOLLOW", // Meta robotok
  23. "realmlist" => "set realmlist newvegas-wow.dyndns.org" // Realm lista
  24.  
  25. );
  26.  
  27. ?>
  28.  
  29.  
  30. AND THIS IS THE APACHE HTTPD CONFIG
  31.  
  32.  
  33. ThreadsPerChild 250
  34. MaxRequestsPerChild 0
  35. ServerRoot "../Server/apache"
  36. Listen 80
  37. LoadModule actions_module modules/mod_actions.so
  38. LoadModule alias_module modules/mod_alias.so
  39. LoadModule asis_module modules/mod_asis.so
  40. LoadModule auth_basic_module modules/mod_auth_basic.so
  41. LoadModule authn_default_module modules/mod_authn_default.so
  42. LoadModule authn_file_module modules/mod_authn_file.so
  43. LoadModule authz_default_module modules/mod_authz_default.so
  44. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  45. LoadModule authz_host_module modules/mod_authz_host.so
  46. LoadModule authz_user_module modules/mod_authz_user.so
  47. LoadModule cgi_module modules/mod_cgi.so
  48. LoadModule dav_module modules/mod_dav.so
  49. LoadModule dav_fs_module modules/mod_dav_fs.so
  50. LoadModule dir_module modules/mod_dir.so
  51. LoadModule env_module modules/mod_env.so
  52. LoadModule include_module modules/mod_include.so
  53. LoadModule info_module modules/mod_info.so
  54. LoadModule isapi_module modules/mod_isapi.so
  55. LoadModule ldap_module modules/mod_ldap.so
  56. LoadModule log_config_module modules/mod_log_config.so
  57. LoadModule mime_module modules/mod_mime.so
  58. LoadModule negotiation_module modules/mod_negotiation.so
  59. LoadModule setenvif_module modules/mod_setenvif.so
  60. LoadModule status_module modules/mod_status.so
  61. LoadModule ssl_module modules/mod_ssl.so
  62.  
  63. LoadModule autoindex_color_module modules/mod_autoindex_color.so
  64. ServerAdmin admin@localhost
  65. ServerName newvegas-wow.dyndns.org:80
  66. DocumentRoot "../htdocs"
  67. <Directory />
  68. Options FollowSymLinks
  69. AllowOverride None
  70. Order deny,allow
  71. Deny from all
  72. </Directory>
  73. <Directory "../Server/htdocs">
  74. Options Indexes FollowSymLinks Includes ExecCGI
  75. AllowOverride All
  76. Order allow,deny
  77. Allow from all
  78.  
  79. </Directory>
  80. <IfModule dir_module>
  81. DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
  82. </IfModule>
  83. <FilesMatch "^\.ht">
  84. Order allow,deny
  85. Deny from all
  86. </FilesMatch>
  87. ErrorLog logs/error.log
  88. LogLevel warn
  89.  
  90. <IfModule log_config_module>
  91. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  92. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  93.  
  94. <IfModule logio_module>
  95. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  96. </IfModule>
  97. CustomLog logs/access.log common
  98. </IfModule>
  99.  
  100. <IfModule alias_module>
  101. ScriptAlias /cgi-bin/ "../Server/cgi-bin/"
  102.  
  103. </IfModule>
  104. <Directory "../Server/cgi-bin">
  105. AllowOverride None
  106. Options None
  107. Order allow,deny
  108. Allow from all
  109. </Directory>
  110. DefaultType text/plain
  111.  
  112. <IfModule mime_module>
  113. TypesConfig conf/mime.types
  114. AddType application/x-compress .Z
  115. AddType application/x-gzip .gz .tgz
  116. AddHandler cgi-script .cgi
  117. AddType text/html .shtml
  118. AddOutputFilter INCLUDES .shtml
  119. </IfModule>
  120. EnableMMAP off
  121. EnableSendfile off
  122. <IfModule alias_module>
  123. <IfModule mime_module>
  124. LoadModule php5_module "../apache/bin/php5apache2.dll"
  125. AddType application/x-httpd-php-source .phps
  126. AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml
  127.  
  128. <Directory "../Server/htdocs/xampplite">
  129. <IfModule php5_module>
  130. <Files "status.php">
  131. php_admin_flag safe_mode off
  132. </Files>
  133. </IfModule>
  134. </Directory>
  135.  
  136. Alias /security "../Server/security/htdocs/"
  137. <Directory "../Server/security/htdocs">
  138. <IfModule php5_module>
  139. <Files "xampplitesecurity.php">
  140. php_admin_flag safe_mode off
  141. </Files>
  142. </IfModule>
  143. AllowOverride AuthConfig
  144. Order allow,deny
  145. Allow from all
  146. </Directory>
  147.  
  148. Alias /phpmyadmin "../Server/phpMyAdmin/"
  149. <Directory "../Server/phpMyAdmin">
  150. AllowOverride AuthConfig
  151. Order allow,deny
  152. Allow from all
  153. </Directory>
  154.  
  155. Alias /webalizer "../Server/webalizer/"
  156. <Directory "../Server/webalizer">
  157. <IfModule php5_module>
  158. <Files "webalizer.php">
  159. php_admin_flag safe_mode off
  160. </Files>
  161. </IfModule>
  162. AllowOverride AuthConfig
  163. Order allow,deny
  164. Allow from all
  165. </Directory>
  166. </IfModule>
  167. </IfModule>
  168. <IfModule auth_remote_module>
  169. <Directory "../Server/htdocs/fonts">
  170. AllowOverride All
  171. AuthType Basic
  172. AuthName "AUTH REMOTE TEST"
  173. AuthRemoteServer localhost
  174. AuthRemotePort 80
  175. AuthRemoteURL /forbidden/
  176. Require valid-user
  177. </Directory>
  178. </IfModule>
  179. <IfModule mysql_auth_module>
  180. <Location /restricted>
  181. AuthMySQLEnable On
  182. AuthName "MySQL Secured Place"
  183. AuthType Basic
  184. require valid-user
  185. AuthMySQLHost localhost
  186. AuthMySQLUser root
  187. AuthMySQLDB webauth
  188. AuthMySQLUserTable user_pwd
  189. AuthMySQLNameField name
  190. AuthMySQLPasswordField pass
  191. AuthMySQLPwEncryption none
  192. </Location>
  193. </IfModule>
  194.  
  195.  
  196. Alias /error/ "../Server/apache/error/"
  197.  
  198. <Directory "../apache/error">
  199. AllowOverride None
  200. Options IncludesNoExec
  201. AddOutputFilter Includes html
  202. AddHandler type-map var
  203. Order allow,deny
  204. Allow from all
  205. LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
  206. ForceLanguagePriority Prefer Fallback
  207. </Directory>
  208.  
  209. ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  210. ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  211. ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  212. ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  213. ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  214. ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  215. ErrorDocument 410 /error/HTTP_GONE.html.var
  216. ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  217. ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  218. ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  219. ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  220. ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  221. ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  222. ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  223. ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  224. ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  225. ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
  226.  
  227.  
  228. IndexOptions FancyIndexing VersionSort
  229. Alias /icons/ "../Server/apache/icons/"
  230.  
  231. <Directory "../Server/apache/icons">
  232. Options Indexes MultiViews
  233. AllowOverride None
  234. Order allow,deny
  235. Allow from all
  236. </Directory>
  237. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  238.  
  239. AddIconByType (TXT,/icons/text.gif) text/*
  240. AddIconByType (IMG,/icons/image2.gif) image/*
  241. AddIconByType (SND,/icons/sound2.gif) audio/*
  242. AddIconByType (VID,/icons/movie.gif) video/*
  243.  
  244. AddIcon /icons/binary.gif .bin .exe
  245. AddIcon /icons/binhex.gif .hqx
  246. AddIcon /icons/tar.gif .tar
  247. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  248. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  249. AddIcon /icons/a.gif .ps .ai .eps
  250. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  251. AddIcon /icons/text.gif .txt
  252. AddIcon /icons/c.gif .c
  253. AddIcon /icons/p.gif .pl .py
  254. AddIcon /icons/f.gif .for
  255. AddIcon /icons/dvi.gif .dvi
  256. AddIcon /icons/uuencoded.gif .uu
  257. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  258. AddIcon /icons/tex.gif .tex
  259. AddIcon /icons/bomb.gif core
  260.  
  261. AddIcon /icons/back.gif ..
  262. AddIcon /icons/hand.right.gif README
  263. AddIcon /icons/folder.gif ^^DIRECTORY^^
  264. AddIcon /icons/blank.gif ^^BLANKICON^^
  265. DefaultIcon /icons/unknown.gif
  266. ReadmeName README.html
  267. HeaderName HEADER.html
  268. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  269.  
  270.  
  271. AddLanguage ca .ca
  272. AddLanguage cs .cz .cs
  273. AddLanguage da .dk
  274. AddLanguage de .de
  275. AddLanguage el .el
  276. AddLanguage en .en
  277. AddLanguage eo .eo
  278. AddLanguage es .es
  279. AddLanguage et .et
  280. AddLanguage fr .fr
  281. AddLanguage he .he
  282. AddLanguage hr .hr
  283. AddLanguage it .it
  284. AddLanguage ja .ja
  285. AddLanguage ko .ko
  286. AddLanguage ltz .ltz
  287. AddLanguage nl .nl
  288. AddLanguage nn .nn
  289. AddLanguage no .no
  290. AddLanguage pl .po
  291. AddLanguage pt .pt
  292. AddLanguage pt-BR .pt-br
  293. AddLanguage ru .ru
  294. AddLanguage sv .sv
  295. AddLanguage zh-CN .zh-cn
  296. AddLanguage zh-TW .zh-tw
  297. LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
  298. ForceLanguagePriority Prefer Fallback
  299. AddCharset us-ascii.ascii .us-ascii
  300. AddCharset ISO-8859-1 .iso8859-1 .latin1
  301. AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
  302. AddCharset ISO-8859-3 .iso8859-3 .latin3
  303. AddCharset ISO-8859-4 .iso8859-4 .latin4
  304. AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
  305. AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
  306. AddCharset ISO-8859-7 .iso8859-7 .grk .greek
  307. AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
  308. AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
  309. AddCharset ISO-8859-10 .iso8859-10 .latin6
  310. AddCharset ISO-8859-13 .iso8859-13
  311. AddCharset ISO-8859-14 .iso8859-14 .latin8
  312. AddCharset ISO-8859-15 .iso8859-15 .latin9
  313. AddCharset ISO-8859-16 .iso8859-16 .latin10
  314. AddCharset ISO-2022-JP .iso2022-jp .jis
  315. AddCharset ISO-2022-KR .iso2022-kr .kis
  316. AddCharset ISO-2022-CN .iso2022-cn .cis
  317. AddCharset Big5.Big5 .big5 .b5
  318. AddCharset cn-Big5 .cn-big5
  319. AddCharset WINDOWS-1251 .cp-1251 .win-1251
  320. AddCharset CP866 .cp866
  321. AddCharset KOI8 .koi8
  322. AddCharset KOI8-E .koi8-e
  323. AddCharset KOI8-r .koi8-r .koi8-ru
  324. AddCharset KOI8-U .koi8-u
  325. AddCharset KOI8-ru .koi8-uk .ua
  326. AddCharset ISO-10646-UCS-2 .ucs2
  327. AddCharset ISO-10646-UCS-4 .ucs4
  328. AddCharset UTF-7 .utf7
  329. AddCharset UTF-8 .utf8
  330. AddCharset UTF-16 .utf16
  331. AddCharset UTF-16BE .utf16be
  332. AddCharset UTF-16LE .utf16le
  333. AddCharset UTF-32 .utf32
  334. AddCharset UTF-32BE .utf32be
  335. AddCharset UTF-32LE .utf32le
  336. AddCharset euc-cn .euc-cn
  337. AddCharset euc-gb .euc-gb
  338. AddCharset euc-jp .euc-jp
  339. AddCharset euc-kr .euc-kr
  340. AddCharset EUC-TW .euc-tw
  341. AddCharset gb2312 .gb2312 .gb
  342. AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
  343. AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
  344. AddCharset shift_jis .shift_jis .sjis
  345.  
  346. <IfModule userdir_module>
  347. UserDir "My Documents/My Website"
  348. <Directory C:/Documents and Settings/*/"My Documents/My Website">
  349. AllowOverride FileInfo AuthConfig Limit Indexes
  350. Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  351. <Limit GET POST OPTIONS>
  352. Order allow,deny
  353. Allow from all
  354. </Limit>
  355. <LimitExcept GET POST OPTIONS>
  356. Order deny,allow
  357. Deny from all
  358. </LimitExcept>
  359. </Directory>
  360. </IfModule>
  361.  
  362.  
  363.  
  364. <Location /server-status>
  365. SetHandler server-status
  366. Order deny,allow
  367. Deny from all
  368. Allow from .example.com
  369. </Location>
  370. <Location /server-info>
  371. SetHandler server-info
  372. Order deny,allow
  373. Deny from all
  374. Allow from .example.com
  375. </Location>
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382. <IfModule dav_module>
  383. <IfModule dav_fs_module>
  384. <IfModule setenvif_module>
  385. <IfModule authn_file_module>
  386.  
  387. DavLockDB "../Server/tmp/DavLock"
  388. Alias /webdav "../Server/webdav"
  389.  
  390. <Directory "../Server/webdav">
  391. Dav On
  392. Order allow,deny
  393. Allow from all
  394. AuthName DAV-upload
  395. AuthType Basic
  396. AuthUserFile "../Server/security/htpasswd.webdav"
  397.  
  398. <LimitExcept GET HEAD OPTIONS>
  399. require valid-user
  400. </LimitExcept>
  401. </Directory>
  402. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  403. BrowserMatch "MS FrontPage" redirect-carefully
  404. BrowserMatch "^WebDrive" redirect-carefully
  405. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  406. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  407. BrowserMatch "^XML Spy" redirect-carefully
  408. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  409. BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
  410. </IfModule>
  411. </IfModule>
  412. </IfModule>
  413. </IfModule>
  414.  
  415.  
  416. Timeout 300
  417. KeepAlive On
  418. MaxKeepAliveRequests 100
  419. KeepAliveTimeout 5
  420. UseCanonicalName Off
  421. AccessFileName .htaccess
  422. ServerTokens Full
  423. ServerSignature On
  424. HostnameLookups Off
  425.  
  426. Listen 443
  427. AddType application/x-x509-ca-cert .crt
  428. AddType application/x-pkcs7-crl .crl
  429. SSLPassPhraseDialog builtin
  430. SSLSessionCache dbm:logs/ssl.scache
  431. SSLSessionCacheTimeout 300
  432. SSLMutex default
  433.  
  434. <VirtualHost _default_:443>
  435. DocumentRoot "../htdocs"
  436.  
  437. ServerName localhost:443
  438. ServerAdmin admin@localhost
  439.  
  440. ErrorLog logs/error.log
  441. <IfModule log_config_module>
  442. CustomLog logs/access.log combined
  443. </IfModule>
  444. SSLEngine on
  445. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  446. SSLCertificateFile conf/ssl.crt/server.crt
  447. SSLCertificateKeyFile conf/ssl.key/server.key
  448. <Location />
  449. </Location>
  450. <FilesMatch "\.(cgi|shtml|phtml|php|php5|php4|php3)$">
  451. SSLOptions +StdEnvVars
  452. </FilesMatch>
  453. <Directory "../Server/apache/cgi-bin">
  454. SSLOptions +StdEnvVars
  455. </Directory>
  456. <IfModule setenvif_module>
  457. BrowserMatch ".*MSIE.*" \
  458. nokeepalive ssl-unclean-shutdown \
  459. downgrade-1.0 force-response-1.0
  460. </IfModule>
  461. <IfModule log_config_module>
  462. CustomLog logs/ssl_request.log \
  463. "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  464. </IfModule>
  465. </VirtualHost>
  466.  
  467. <IfModule ssl_module>
  468. SSLRandomSeed startup builtin
  469. SSLRandomSeed connect builtin
  470. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement