![]() |
|
|
|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| PHP / MySQL Assistance We understand. Not all of you are experienced programmers, but some of you are highly skilled at coding. So we've set aside this forum so you can ask questions, and provide answers to the most commonly asked PHP / MySQL issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi there,
I'm having problems with Joomla sites I host on hostican. Until recently I had a domain, coburnhouse.com, that used Joomla 1.0.x. It used sh404SEF to make the URL's search engine friendly and the site worked perfectly up until a week or so ago. Suddenly when you hit the domain (index.php) you got an error 500. However if you hit a page/file in a subdirectory it worked fine. It seems it's only the redirects that are playing up. So I disable the sh404SEF and suddenly I can access the index.php file on the domain. If I try one of the SEO friendly URL's in the browser it just lands on the index.php. I'm wondering whether this is due to a change to the server configuration by HostIcan as I haven't made any changes myself. Here is what is unhashed in my .htaccess file... RewriteEngine On DirectoryIndex index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC] RewriteRule ^(content/|component/) index.php RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes## RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php Many thanks Last edited by mtippett : 05-06-2008 at 08:07 AM. Reason: extra info |
|
||||
|
Quote:
If you rename the .htaccess to .htaccess.old - what does it do? Does it work or still throw a Internal Server Error 500 ?
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
|||
|
hi Inxcode
Once I renamed .htaccess to .htaccess.old I could still hit the domain and see the index.php and other pages in non-SEO friendly URL's. I then turned on SEO friendly URL's and again i can hit the index.php. However I can't get to other pages (the ones which have their URL changed) instead I get a 404 error. |
|
||||
|
Quote:
With .htaccess you get internal server error - Yes / No Without .htaccess do you get internal server error - Yes / No Thats all... links arn't suppose to work while you do the test.... ![]() HostICan - Support - Pre-Sales, E-Mail, and so many more answers... :: Internal Server Error 500 Is some more informaiton
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
|||
|
Inxcode,
Thanks for the continued help. From what I can see at my end with htaccess I get an internal server error & without htaccess I don't get the error. If I use the URL re-write function without htaccess it is able to rewrite the URL, just not in the form I want it. But it's strange that this happened recently without me making any changes. This domain has been up for many months with the SEO friendly URL re-writer working fine. It's just recently that the problems started. I believe it could be a change that HostIcan made to their configuration. I have looked over what they said regarding 500 errors and none of the things listed apply. All permissions are correct and the htaccess has worked previously; no changes have been made by me. |
|
||||
|
Quote:
If so, I suggest commenting out the first paragraph of code and see if it works, to find out where it is... then narrow it down to a line... then you know what to fix.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
|||
|
I tried the narrowing down etc but to no avail. I decided to start again one of of my sites.
I made the pages again in Joomla and added in the SEO plugin that changes the URL. It worked fine as a sub-directory of a domain I already successfully use with Joomla and the SEO plugin. So I decide to point a domain name I have at the sub-directory. Suddenly the site gets error 500 whenever I hit it. If I look at the site through the sub-directory (where it's hosted) it works fine. If I disable the SEO plugin it works fine. But looking at it by using the domain that points to it suddenly screws it all up. ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|