NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol. # #NameVirtualHost *:80 # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # ServerName forums.techguy.org ServerAlias mobile.techguy.org ServerAdmin webmaster@cermak.com DocumentRoot /home/httpd/vhosts/helponthe.net/forums ScriptAlias /cgi-bin/ /home/httpd/vhosts/helponthe.net/forums/cgi-bin/ RewriteRule ^/f([0-9]+)-s([^/]+)\.html$ /forumdisplay.php?forumid=$1&s=$2 [L] RewriteRule ^/f([0-9]+)-s\.html$ /forumdisplay.php?forumid=$1&s=$2 [L] RewriteRule ^/t([0-9]+)$ /showthread.php?threadid=$1 [L] RewriteRule ^/t([0-9]+)/s([^/]+)\.html$ /redir.php?threadid=$1&s=$2 [L] RewriteRule ^/t([0-9]+)s([^/]+)\.html$ /redir.php?threadid=$1&s=$2 [L] RewriteRule ^/t([0-9]+)/s\.html$ /redir.php?threadid=$1&s=$2 [L] RewriteRule ^/index-([^/]+)\.html$ /index.php?$1 [L] RewriteRule ^/index-.html$ /index.php [L] RewriteRule ^/t([0-9]+)&([^/]+)\.html$ /showthread.php?threadid=$1&$2 [L] RewriteRule ^/t([0-9]+)\.html$ /showthread.php?threadid=$1 [L] RewriteRule ^/avatar/file/(.*) /avatar.php?userid=$1 #RewriteRule ^/archive/f-([0-9]+).html$ /archive/index.php?f=$1 [L] #RewriteRule ^/archive/t-([0-9]+).html$ /archive/index.php?t=$1 [L] #RewriteRule ^/history/(.*)$ /archive/$1 [L] RewriteRule ^/history/t-([0-9]+)\.html$ /showthread.php?threadid=$1 [L] RewriteRule ^/history/f-([0-9]+)\.html$ /forumdisplay.php?forumid=$1 [L] RewriteRule ^/attachments/(.*)$ http://attachments.techguy.org/attachments/$1 [L] RewriteRule ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ http://www1.techguy.org/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} /(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.*)$ $1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteRule ^/(.*\.php)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteRule ^/(archive/.*)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] #not needed? RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}index.php -f #not needed? RewriteRule ^(.*)/$ $1/index.php [L] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteRule ^/(.+)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] #ErrorDocument 404 /404.php ### ErrorLog logs/forums.techguy.org_error # CustomLog logs/forums.techguy.org_access common Options Indexes FollowSymLinks MultiViews AcceptPathInfo On AllowOverride All ServerName beta.techguy.org ServerAdmin webmaster@cermak.com DocumentRoot /home/httpd/vhosts/helponthe.net/beta RewriteEngine On RewriteRule ^/f([0-9]+)-s([^/]+)\.html$ /forumdisplay.php?forumid=$1&s=$2 [L] RewriteRule ^/f([0-9]+)-s\.html$ /forumdisplay.php?forumid=$1&s=$2 [L] RewriteRule ^/t([0-9]+)$ /showthread.php?threadid=$1 [L] RewriteRule ^/t([0-9]+)/s([^/]+)\.html$ /redir.php?threadid=$1&s=$2 [L] RewriteRule ^/t([0-9]+)s([^/]+)\.html$ /redir.php?threadid=$1&s=$2 [L] RewriteRule ^/t([0-9]+)/s\.html$ /redir.php?threadid=$1&s=$2 [L] RewriteRule ^/index-([^/]+)\.html$ /index.php?$1 [L] RewriteRule ^/index-.html$ /index.php [L] RewriteRule ^/t([0-9]+)&([^/]+)\.html$ /showthread.php?threadid=$1&$2 [L] RewriteRule ^/t([0-9]+)\.html$ /showthread.php?threadid=$1 [L] RewriteRule ^/avatar/file/(.*) /avatar.php?userid=$1 RewriteRule ^/history/t-([0-9]+)\.html$ /showthread.php?threadid=$1 [L] RewriteRule ^/history/f-([0-9]+)\.html$ /forumdisplay.php?forumid=$1 [L] RewriteRule ^/attachments/(.*)$ http://attachments.techguy.org/attachments/$1 [L] RewriteRule ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ http://www1.techguy.org/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} /(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.*)$ $1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteRule ^/(.*\.php)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteRule ^/(archive/.*)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteRule ^/(.+)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] ErrorLog logs/beta.techguy.org_error Options Indexes FollowSymLinks MultiViews AcceptPathInfo On AllowOverride All ServerName www.techguy.org ServerAdmin webmaster@cermak.com DocumentRoot /home/httpd/vhosts/helponthe.net/www ScriptAlias /cgi-bin/ /home/httpd/vhosts/helponthe.net/www/cgi-bin/ ErrorDocument 404 /404.html Options Indexes FollowSymLinks MultiViews AcceptPathInfo On AllowOverride None RewriteEngine on RewriteRule ^/index.html(.*)$ /index.php?$1 [L] RewriteRule ^/how2help/donate(.*)$ /index.php?page=donate [L] RewriteRule ^/how2help(.*)$ /index.php?page=how2help [L] RewriteRule ^/news(.*)$ /index.php?page=newsletter [L] RewriteRule ^/aboutus(.*)$ /index.php?page=aboutus [L] RewriteRule ^/list(.*)$ /index.php?page=list [L] RewriteRule ^/(.*).html$ /index.php?page=$1 [L] #LOG## CustomLog logs/helponthe.net_log combined ServerName www.techguy.com #Redirect permanent / http://www.techguy.org/ ServerAlias helponthe.net www.helponthe.net techsupportguy.net www.techsupportguy.net techsupportguy.org www.techsupportguy.org techguy.org techsupportpeople.com www.techsupportpeople.com techsupportpeople.net www.techsupportpeople.net techsupportgirl.net www.techsupportgirl.net techsupportguy.com www.techsupportguy.com helponthenet.com www.helponthenet.com helponthenet.net www.helponthenet.net tsgserver.com www.tsgserver.com techguy.com www.techguy.com techsupportforums.org www.techsupportforums.org techsupportforum.org www.techsupportforum.org techguyforums.org www.techguyforums.org techguyforums.com www.techguyforums.com techsupportgirl.com www.techsupportgirl.com techguy.us www.techguy.us techsupportguy.us www.techsupportguy.us randomdiscussion.com www.randomdiscussion.com randomdiscusion.org www.randomdiscussion.org forums.techguy.com ServerAdmin webmaster@cermak.com DocumentRoot /home/httpd/vhosts/helponthe.net/alt AllowOverride All