Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.97 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin support@redirc.org
  3. ServerName irc.redirc.org
  4. RewriteEngine on
  5. RewriteCond %{HTTP_HOST} ^irc.redirc.org
  6. RewriteRule ^/(.*)$ http://www.redirc.org/$1 [L,R=301]
  7. </VirtualHost>
  8.  
  9. <VirtualHost *:80>
  10. ServerAdmin support@redirc.org
  11. ServerName chakal.redirc.org
  12. RewriteEngine on
  13. RewriteCond %{HTTP_HOST} ^chakal.redirc.org
  14. RewriteRule ^/(.*)$ http://www.redirc.org/$1 [L,R=301]
  15. </VirtualHost>
  16.  
  17. <VirtualHost *:80>
  18. ServerAdmin support@redirc.org
  19. ServerName mail.redirc.org
  20. RewriteEngine on
  21. RewriteCond %{HTTP_HOST} ^mail.redirc.org
  22. RewriteRule ^/(.*)$ http://www.redirc.org/$1 [L,R=301]
  23. </VirtualHost>
  24.  
  25. <VirtualHost *:80>
  26. ServerAdmin support@redirc.org
  27. ServerName ns1.redirc.org
  28. RewriteEngine on
  29. RewriteCond %{HTTP_HOST} ^ns1.redirc.org
  30. RewriteRule ^/(.*)$ http://www.redirc.org/$1 [L,R=301]
  31. </VirtualHost>
  32.  
  33. <VirtualHost *:80>
  34. ServerAdmin support@redirc.org
  35. ServerName redirc.org
  36. ServerAlias www.redirc.org
  37. DocumentRoot /var/www
  38.  
  39. RewriteEngine on
  40.  
  41. RedirectMatch permanent (?i)^/salas/(.*) http://www.redirc.org/canales/
  42. RedirectMatch permanent (?i)^/irc/(.*)$ http://foro.redirc.org
  43. RedirectMatch permanent (?i)^/blog/(.*)$ http://blog.redirc.org/$1
  44. RedirectMatch permanent (?i)^/webchat/(.*)$ http://webchat.redirc.org/$1
  45. RedirectMatch permanent (?i)^/chat\.php(.*)$ http://webchat.redirc.org/$1
  46. RedirectMatch permanent (?i)^/foros/(.*)$ http://foro.redirc.org
  47. RedirectMatch permanent (?i)^/forum/(.*)$ http://foro.redirc.org/$1
  48. RedirectMatch permanent (?i)^/articulos/servicios-online/(.*)$ http://www.redirc.org/servicios-online/$1
  49. RedirectMatch permanent (?i)^/articulos/servicios/(.*)$ http://www.redirc.org/servicios/$1
  50. RedirectMatch permanent (?i)^/webstore/(.*)$ http://www.redirc.org
  51. RedirectMatch permanent (?i)^/servicios/gmail(.*) http://www.redirc.org/servicios/
  52. RedirectMatch permanent (?i)^/articulos/241-servicios-de-redirc http://www.redirc.org/articulos
  53. RedirectMatch permanent (?i)^/18-channel/mexico/ http://www.redirc.org/canales/paises/71-canal-mexico
  54. RedirectMatch permanent (?i)^/20-channel/musica/ http://www.redirc.org/canales/musica
  55. RedirectMatch permanent (?i)^/node/ http://www.redirc.org/
  56. RedirectMatch permanent (?i)^/comment/ http://www.redirc.org/
  57. RedirectMatch permanent (?i)^/25-channel/edades/ http://www.redirc.org/canales/edades
  58. RedirectMatch permanent (?i)^/15-channel/aficiones/ http://www.redirc.org/canales/entretenimiento
  59. RedirectMatch permanent (?i)^/12-channel/cat-general http://www.redirc.org/canales/general
  60. RedirectMatch permanent (?i)^/13-channel/paises/ http://www.redirc.org/canales/paises
  61. RedirectMatch permanent (?i)^/19-channel/argentina/ http://www.redirc.org/canales/paises/50-canal-argentina
  62. RedirectMatch permanent (?i)^/..-channel/ http://www.redirc.org/canales/
  63. Redirect /ayuda.py https://dl.dropboxusercontent.com/u/6524825/ayuda.zip
  64. Redirect /generar-webchat http://www.redirc.org/servicios-online/personalizar-webchat
  65. Redirect /articulos/35-instalar-y-configurar-un-servidor-de-irc-bajo-unrealircd http://www.redirc.org/articulos/81-instalar-y-configurar-unrealircd-linux
  66. Redirect /servicios-online/webchat-generate http://www.redirc.org/servicios-online/personalizar-webchat
  67. Redirect /foros-de-redirc http://foro.redirc.org
  68. Redirect /servicios-online/208-registrar-un-canal http://www.redirc.org/servicios-online/registrar-un-canal
  69. Redirect /component/content/article http://www.redirc.org/articulos/
  70. Redirect /servicios-online/configurar-su-canal http://www.redirc.org/servicios-online/
  71. Redirect /comment/reply/1796/160 http://www.redirc.org/
  72. Redirect /canales/general/39-canal- http://www.redirc.org/canales/general
  73. Redirect /sitemap.xml http://www.redirc.org/index.php?option=com_jmap&view=sitemap&format=xml
  74.  
  75. RewriteCond "%{HTTP_HOST}" "!^www\." [NC]
  76. RewriteCond "%{HTTP_HOST}" "!^$"
  77. RewriteRule "^/?(.*)" "http://www.%{HTTP_HOST}/$1" [L,R,NE]
  78.  
  79. <Directory />
  80. Options FollowSymLinks
  81. AllowOverride All
  82.  
  83. </Directory>
  84. <Directory /var/www/>
  85. Options Indexes FollowSymLinks MultiViews
  86. Options +ExecCGI
  87. AllowOverride All
  88. Order allow,deny
  89. allow from all
  90. </Directory>
  91.  
  92. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  93. <Directory "/usr/lib/cgi-bin">
  94. AllowOverride None
  95. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  96. Order allow,deny
  97. Allow from all
  98. </Directory>
  99.  
  100. ErrorLog ${APACHE_LOG_DIR}/web/error.log
  101. LogLevel warn
  102. CustomLog ${APACHE_LOG_DIR}/web/access.log combined
  103. ErrorDocument 404 /
  104. </VirtualHost>
  105.  
  106. <VirtualHost *:80>
  107. ServerAdmin support@redirc.org
  108. ServerName blog.redirc.org
  109. ServerAlias www.blog.redirc.org
  110. DocumentRoot /var/www/blog
  111.  
  112. <Directory />
  113. Options FollowSymLinks
  114. AllowOverride All
  115. </Directory>
  116. <Directory /var/www/blog/>
  117. Options Indexes FollowSymLinks MultiViews
  118. AllowOverride All
  119. AddHandler fcgid-script .php
  120. FCGIWrapper /usr/lib/cgi-bin/php5 .php
  121. Options +ExecCGI
  122. Order allow,deny
  123. allow from all
  124. </Directory>
  125.  
  126. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  127. <Directory "/usr/lib/cgi-bin">
  128. AllowOverride None
  129. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  130. Order allow,deny
  131. Allow from all
  132. </Directory>
  133.  
  134. ErrorLog ${APACHE_LOG_DIR}/blog/error.log
  135. LogLevel warn
  136. CustomLog ${APACHE_LOG_DIR}/blog/access.log combined
  137. </VirtualHost>
  138.  
  139. <VirtualHost *:80>
  140. ServerAdmin support@redirc.org
  141. ServerName webchat.redirc.org
  142. ServerAlias chat.redirc.org
  143. DocumentRoot /var/www/webchat
  144.  
  145. <Directory />
  146. Options FollowSymLinks
  147. AllowOverride All
  148. AddHandler fcgid-script .php
  149. FCGIWrapper /usr/lib/cgi-bin/php5 .php
  150. Options +ExecCGI
  151. </Directory>
  152. <Directory /var/www/webchat/>
  153. Options Indexes FollowSymLinks MultiViews
  154. AllowOverride All
  155. AddHandler fcgid-script .php
  156. FCGIWrapper /usr/lib/cgi-bin/php5 .php
  157. Options +ExecCGI
  158. Order allow,deny
  159. allow from all
  160. </Directory>
  161.  
  162. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  163. <Directory "/usr/lib/cgi-bin">
  164. AllowOverride None
  165. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  166. Order allow,deny
  167. Allow from all
  168. </Directory>
  169.  
  170. ErrorLog ${APACHE_LOG_DIR}/webchat/error.log
  171. LogLevel warn
  172. CustomLog ${APACHE_LOG_DIR}/webchat/access.log combined
  173. </VirtualHost>
  174.  
  175. <VirtualHost *:80>
  176. ServerAdmin support@redirc.org
  177. ServerName stats.redirc.org
  178. DocumentRoot /var/www/magirc
  179.  
  180. <Directory />
  181. Options FollowSymLinks
  182. AllowOverride All
  183. </Directory>
  184. <Directory /var/www/magirc/>
  185. Options Indexes FollowSymLinks MultiViews
  186. AllowOverride All
  187. AddHandler fcgid-script .php
  188. FCGIWrapper /usr/lib/cgi-bin/php5 .php
  189. Options +ExecCGI
  190. Order allow,deny
  191. allow from all
  192. </Directory>
  193.  
  194. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  195. <Directory "/usr/lib/cgi-bin">
  196. AllowOverride None
  197. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  198. Order allow,deny
  199. Allow from all
  200. </Directory>
  201.  
  202. ErrorLog ${APACHE_LOG_DIR}/stats/error.log
  203. LogLevel warn
  204. CustomLog ${APACHE_LOG_DIR}/stats/access.log combined
  205. </VirtualHost>
  206.  
  207. <VirtualHost *:80>
  208. ServerAdmin support@redirc.org
  209. ServerName foro.redirc.org
  210. DocumentRoot /home/foro/www
  211.  
  212. <Directory />
  213. Options FollowSymLinks
  214. AllowOverride All
  215. </Directory>
  216. <Directory /home/foro/www/>
  217. Options Indexes FollowSymLinks MultiViews
  218. AllowOverride All
  219. AddHandler fcgid-script .php
  220. FCGIWrapper /usr/lib/cgi-bin/php5 .php
  221. Options +ExecCGI
  222. Order allow,deny
  223. allow from all
  224. </Directory>
  225.  
  226. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  227. <Directory "/usr/lib/cgi-bin">
  228. AllowOverride None
  229. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  230. Order allow,deny
  231. Allow from all
  232. </Directory>
  233.  
  234. ErrorLog ${APACHE_LOG_DIR}/foro/error.log
  235. LogLevel warn
  236. CustomLog ${APACHE_LOG_DIR}/foro/access.log combined
  237. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement