cPanel, WHM, Fantastico - Reseller Hosting, Reseller Accounts, Domain Resellers - ADSL, Broadband, Dialup, FRAICO, Unmetered - Servers, Dedicated, Counter Strike, Game Servers
HostingResellersDomainsvpsDedicated ServersSupport
 
 
Register
 
Get New Posts
 
Search
 
User CP
xilo forum    
image image
Go Back   XILO Community Forum > Customer Support > Support Queries > .htaccess
Support Queries This forum should be used to contact XILO's support team should you have any problems with your account.

Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
VisualCreation VisualCreation is offline
Xilo Reseller
VisualCreation is on a distinguished road
 
Posts: 23
Join Date: Jan 2007
Location: Scotland, Glasgow
Default .htaccess - 22/09/2007, 12:10 AM

Hey guys, Iam having a few problems with installing OsCommerce, I have installed it twice one with https and one without, now it says php register_globals is off so i need to enable it eather by the server or by .htaccess now I have put the information into the file but its still giving me the following error
www.monitor-repairs.net
Code:
 Internal Server Error

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

Please contact the server administrator, webmaster@monitor-repairs.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.
also I have noticed that on my domains if i put https://mydomains.com everyone of them is going to a mobilephone website I personaly think this is a bit dodgy and would like it looked into much further.

Kind Regards
Ross


Visual-Creation.net
Ross
Reply With Quote
  (#2 (permalink)) Old
Kieran Kieran is offline
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 771
Join Date: Apr 2006
Location: Leeds, England
Default Re: .htaccess - 22/09/2007, 10:01 AM

You cannot enable register_globals or any other php setting using .htaccess. You must use a php.ini file in the root directory of the application you wish to affect with the new setting.

The line that needs to be in the php.ini file is
register_globals=on
Reply With Quote
  (#3 (permalink)) Old
VisualCreation VisualCreation is offline
Xilo Reseller
VisualCreation is on a distinguished road
 
Posts: 23
Join Date: Jan 2007
Location: Scotland, Glasgow
Default Re: .htaccess - 22/09/2007, 11:26 AM

Hey Kieran, I have tried to locate the php.ini file on the ftp for that client but i cannot see it its not even in the php folder in the root directory, i created a php.ini file and uploaded and still same problem! I tried to phone the support help line yestarday and after 10min I gave up and sent an email.


Visual-Creation.net
Ross
Reply With Quote
  (#4 (permalink)) Old
Kieran Kieran is offline
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 771
Join Date: Apr 2006
Location: Leeds, England
Default Re: .htaccess - 22/09/2007, 9:44 PM

The php.ini file needs to be in public_html. It is not there by default and must be created. The ini file in your case should have one line, the one I indicated.

Any references to php in the .htaccess file should be removed - it will ALWAYS cause the 500 error otherwise.
Reply With Quote
  (#5 (permalink)) Old
VisualCreation VisualCreation is offline
Xilo Reseller
VisualCreation is on a distinguished road
 
Posts: 23
Join Date: Jan 2007
Location: Scotland, Glasgow
Default Re: .htaccess - 24/09/2007, 12:40 AM

Thanks got it Kieran


Visual-Creation.net
Ross
Reply With Quote
  (#6 (permalink)) Old
tomwp tomwp is offline
User
tomwp is on a distinguished road
 
Posts: 19
Join Date: Jul 2006
Default Re: .htaccess - 2/12/2007, 2:04 PM

For HSphere accounts try adding
Quote:
php_flag register_globals on
to your .htaccess file
Reply With Quote
  (#7 (permalink)) Old
Kieran Kieran is offline
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 771
Join Date: Apr 2006
Location: Leeds, England
Default Re: .htaccess - 2/12/2007, 2:27 PM

tomwp you are quite correct for HSphere, but for all other accounts that line in .htaccess will cause a 500 error.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 3:39 PM.

Powered by vBulletin


split

XILO Communications Ltd.
Registered in England and Wales: 6451134
VAT Registered: GB 930 3394 39
Prices exclude VAT at 17.5%

We accept all major debit and credit cards via WorldPay and payments via PayPal
COPYRIGHT © 2002- XILO Communications Ltd.
ALL RIGHTS RESERVED