LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Addon Domains dont load with .htaccess (https://www.linuxquestions.org/questions/linux-server-73/addon-domains-dont-load-with-htaccess-656811/)

Html33 07-19-2008 06:55 AM

Addon Domains dont load with .htaccess
 
Okay, I was not to sure how to word the title but bear with me, i'll try to explain it as well as i can.

Right, I own the domain name 'warez-united.net' and decided to host various other websites [fagex.net] [mmocheating.com]

So i have my main domain name, which the cpanel is attached to and that is the 'warez-united.net' and that is a forum with various httaccess files for vbseo etc.

This is what i have

Quote:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
RewriteBase /

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{HTTP_HOST} ^warez-united.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.warez-united.net$

RewriteEngine On
AddDefaultCharset Off


####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css|gif|jpg)$ redir.php?file=$1$2&type=$2 [L]
</IfModule>

####ETags
FileETag None

####Expires
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</IfModule>

But when i have that, i get errors on my domain names [fagex.net][mmocheating.net] and the subdomains as well


Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mmocheating.warez-united.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Once i remove the htaccess file from my 1st domain 'warez-united.net' they work like a charm.

Warez-united.net is a vbulletin forum with vbseo installed.

If you know what my problem is then could you correct the code and tell me what it is you have done, just so i know for later on!

Thank you in advance

Html33 07-21-2008 12:05 PM

Bump..............


All times are GMT -5. The time now is 07:07 PM.