is this possible???

Using a single web hosting account to host multiple sites

Postby bXs » Wed Nov 14, 2007 7:22 am

i have problem with this... it's working fine at localhost, but when i upolad htaccess on web server problems start.

Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@cars.altheaglobal.com 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.


when i delete this lang code in htaccess it works, but i nead lang :(
bXs
 
Posts: 8
Joined: Mon Sep 24, 2007 1:38 am

Postby richardk » Wed Nov 14, 2007 12:11 pm

What's in your .htaccess file?
Are you sure you can use mod_rewrite? (Test it.)
What does your error log say the error is?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby bXs » Wed Nov 21, 2007 9:45 am

mod rewrite is working...

error log... nothing is in it :/

in htaccess is this:

RewriteEngine on

Options +FollowSymLinks -MultiViews

RewriteRule ^(en/|bs/)?(|\/)$ index.php?lang=$1 [L]
RewriteRule ^(en/|bs/)?admin/?$ index.php?action=admin&lang=$1 [L]
RewriteRule ^(en/|bs/)?admin/([^/]+)/?$ index.php?action=admin&aa=$2&lang=$1 [L]
RewriteRule ^(en/|bs/)?admin/([^/]+)/([0-9]+)/?$ index.php?action=admin&aa=$2&id=$3&lang=$1 [L]
RewriteRule ^(en/|bs/)?cars/?$ index.php?action=cars&lang=$1 [L]
RewriteRule ^(en/|bs/)?car/([0-9]+)/?$ index.php?action=car&aa=$2&lang=$1 [L]
bXs
 
Posts: 8
Joined: Mon Sep 24, 2007 1:38 am

Postby richardk » Wed Nov 21, 2007 2:42 pm

Try removing the Options line.

If you're using a Mac, try creating the file on the server instead (it might have the wrong line endings).
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Previous

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 27 guests

cron