Home Hosting
 
Hosting
Joomla SEO mod_rewrite produces 500 errors PDF Print E-mail
Written by Mick   
Thursday, 18 June 2009 17:52

When hosting Joomla 1.5 on an Apache webserver activating search engine optimisation with 'mod_rewrite' causes the web server to start producing 500 script errors.

On closer inspection of the webserver error logs shows we can see the following error:

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

This error implies that the redirect has an uncontrolled loop in the scripting, probably as a result of an error in a condition or replacement.

There appears to be a problem with the following section.

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule ^(.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

The rule set is built up of two parts. Firstly we need to define conditions as to when this rule should be run, and secondly we indicate the rules we want to follow.

I have highlighted the two rules where the problem exists.

The first line "RewriteCond %{REQUEST_URI} !^/index.php" indicates don't perform this change if the URI is /index.php. This is designed to stop processing if we have already replaced the URI with /index.php.

The seconf line "RewriteCond ^(.*) index.php" replaces anything on this line with the word index.php. The problem is that we are replacing the URL with index.php without a leading slash. This means that the rewrite condition designed to prevent looping doesn't match.

The fix for this is very simple just add a leading slash in the RewriteRule then the RewriteCond now matches. The section now reads as follows:

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule ^(.*) /index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

 

 

 
Domain and Transfer Information PDF Print E-mail
Written by Emily   
Wednesday, 17 June 2009 14:32

Domain Name Transfers > IN

If you have previously registered domain name(s) and wish to transfer them in to an account here, you will need to do a couple of things first.

If the domain name ends in .*.uk - you will need to ask the current web host or domain registrar to change the  IPSTAG associated to your domain(s) to: POBOX

This will then give us the authority with Nominet (www.nic.uk) to transfer the domain name from where it is to our own servers.

If you need to transfer over any other domain, ie .com/net/org/biz you will need to, usually via the domain registrars admin control panel, edit the Name Server Addresses.  This may also come under the heading: edit DNS, it depends on the registrar's terminology.  If you are able to edit the name server addresses yourself, you need to change them to the following:

Primary: ns0.pobox.co.uk

Secondary: ns1.pobox.co.uk

Making sure that the domain names have been added to your control panel here.  These will typically update over night and be ready at most 24 hours later.

Domain Name Transfers < OUT

If you choose to leave Pobox Internet and wish to move out your .co.uk domain name, we will require signed authorisation, usually on a fax, or signed PDF of your intention, and also the ipstag of your new hosts.  Once this is actioned, the new hosts will have the authority to move it out.  This carries a £10+vat administration fee.  You can choose to initiate this directly from Nominet, they also have a small admin fee for the privilege.

Server Side Domain Information

If you require any A or CNAME records adding or amending to your domain name, please email This e-mail address is being protected from spambots. You need JavaScript enabled to view it with the request.  After confirming authenticity we will action this on the day.

 
At A Glance Webhosting/FTP Information PDF Print E-mail
Written by Emily   
Wednesday, 17 June 2009 13:56

A general list of ftp / webhosting info for the more experienced.

 

For Unix web hosting

 

The ftp server / host address is ftp.pobox.co.uk.

Usual port, 21

Accepts pasv or active transfer. If one doesn't work, toggle it to the other if you experience connection problems on the first attempt.  IE connected but hanging etc.

User/Pass case sensitive

Default Folder List: public_html (root folder for the website), cgi-bin (for scripts) web_logs (statistics)

Default Page: index.htm / index.php (lower case)

Unix webservers are very case sensitive, please make sure files and folders being linked to are in the same case as they're saved to the server.

Perl / CGI scripts need to be chmod 755.  Setting them to 777 will disable the script, 755 will do all's that is needed for it to execute properly.  Upload perl/cgi scripts up in ascii mode, sometimes binary mode inserts hidden characters that will mess up the script.

No Microsoft components run on the unix web servers.

For Windows web hosting

 

The ftp server depends on which version of Microsoft Server your site is hosted on, please email This e-mail address is being protected from spambots. You need JavaScript enabled to view it for confirmation.

Default folder list: html (root folder for the website), web_logs (statistics).

Default page: index.htm.  Default pages can be edited or added at request, ie index.asp / default.htm etc.

Microsoft Front Page extensions are installed on request.

Last Updated on Tuesday, 23 June 2009 11:48
 
Setting up Actinic Catalogue PDF Print E-mail
Written by Support   
Tuesday, 16 June 2009 19:45

Our Linux hosted webservers are capable of running Actinic Catalogue, the popular shopping cart software.

Below is a list of general settings that actinic asks when configuring.  This may be of use to you if you need to get it up and running.
It should also be noted that pages with Frames will not display correctly on the secure server - you will need to make sure the design you select has only a single frame layout for the checkout pages. The SSL certificate will not fuction correctly unless the whole page is served from the secured site. With a frames page, this does not happen - the site tries to maintain the navigation menus from the unsecures site when it swiches to the https:// address for the checkout pages.

Standard Settings

Since the site, as viewed through the secure server, cannot call comonents from outside the /public_html/ directory of your webspace, the default /cgi-bin/ directory provided on the same level is no use for running the actinic script from. You will need to create a new directory inside your public_webspace ( /public_html ) directory. For this example, we chose to call this directory /public_html/cgi/ and pointed the cgi code into this as shown below....

Server Details

1. Catalog URL: http://www.yourdomain.co.uk/acatalog
2. CGI-BIN URL: http://www.yourdomain.co.uk/cgi/
3. Codebase: ./
4. Path from CGI-BIN to Acatalog Directory: ../public_html/acatalog/

Common Settings

1. CGI Script Number ID: 6
2. Extension: .pl
3. Mail (SMTP) Server: smtp.pobox.co.uk
4. Website URL: http://www.yourdomain.co.uk/
5. Path to the Perl Shell: /usr/bin/perl
6. Ignore Passive Transfer Errors: Checked
7. Use relative CGI-BIN URLs in Catalog Pages: UNchecked

FTP Settings

1.Server Host: ftp://ftp.pobox.co.uk/
2.User Name: xxxxx
2.Password: xxxx
3.Path to CGI-BIN: cgi-bin/
4.Path from CGI-BIN to Acatalog Directory as viewed by the FTP Server: ../acatalog/
5.Use Passive FTP Transfers: UNchecked

If customers need information that is not detailed in the above, please contact us directly.

Secure Settings

Follow the settings used in this example - just replace "username" and "domain" with your own details...
Please note that you will not have to complete the following items if you have not selected to use the SSL option in the configuration of your Actinic Store.

 With all these settings in place, press Apply, then the Test button to see if you have entered all the details correctly.
 
All that then remains  is to select "Generate Scripts" under the Advanced Button, then select the "Generate Web Site" option and "Send Files", which will publish the pages you have prepared to the site.

Open a browser and go to the Catalog URL as shown in the Standard Settings window above.
You should see the front page of your Actinic Catalog Website

Last Updated on Wednesday, 17 June 2009 01:47