User comments on ISPs
  >> PlusNet plc


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | >> (show all)   Print Thread
Standard User camieabz
(sensei) Fri 22-Mar-13 22:46:06
Print Post

Plusnet Web Space - .htaccess options


[link to this post]
 
A client has a domain and web-space with Plusnet and I was trying to set-up a few .htaccess rules. None of which worked.

First I want to enable GZIP...I'm coming to the conclusion that GZIP is not available out-with the CCGI web-space. If this is so, is there a really good reason for that? To clarify, we're not talking masses of data, but one would think GZIP enabled as standard was the way to go. Had a sneaky suspicion that it doesn't hurt SEO either.

The other .htaccess rules are simple 301 redirects and rewrites for doing the following:

domain.co.uk becomes http://www.domain.co.uk
www.domain.co.uk - http://www.domain.co.uk
http://www.domain.co.uk/index or index.html becomes http://www.domain.co.uk
A second 'contact' page changes from /contact.html to /contact

It's really that simple, but I've tried a few different methods and none of the above have worked...have seen 500 errors and at one point when typing www.domain.co.uk I got a massive URL which was the real path via the server (should I have seen this?).

It may be that my re-write skills are out of practice, or given that all the options don't work, that Plusnet have some weird mod-rewrite block going on.

What's the deal?

Edit: Oh and the following doesn't work either:

Options - Indexes
Options All - Indexes

Had to use:

IndexIgnore *


Edit again: And the keep-alive in HTTP headers isn't setup.

~ Camieabz ~

All Connection Data ~ Some plusnet links

I've forgotten more about broadband than I care to remember.

Edited by camieabz (Sat 23-Mar-13 00:14:38)

Standard User deleted
(deleted) Mon 25-Mar-13 21:19:55
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
Hi camieabz,

Had a quick look on my ccgi server, and although zlib support is enabled, the output compression is disabled.

You can enable output compression on a site-by-site basis usually by putting the following command in the .htaccess file for the site:

php_flag zlib.output_compression on

NOTE: the zlib.output_compression_level is currently set to -1, which means it will be using the default compression level of 6 (from 0 to 9) - this is supposed to be the best compression without overloading a server, but if you have performance issues you may want to lower to something else like 4.

regarding the other questions, not sure why it didn't work for you, it's actually been a while since I actively used a .htaccess file on my ccgi site (it mostly just has some test web pages these days)
Standard User camieabz
(sensei) Tue 26-Mar-13 10:25:24
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
Cheers for the response mate, but to clarify...we're talking a non-CCGI site, so I need a PN rep to tell me about the config. I don't have the server access details to hand; just the FTP to htdocs details.

~ Camieabz ~

All Connection Data ~ Some plusnet links

I've forgotten more about broadband than I care to remember.


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Tue 26-Mar-13 10:39:21
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
As a non customer you can't create an account on the Plusnet forums so I suggest posting in the usergroup forums where the experts there should pick it up http://usergroup.plus.net/forum/
Standard User Apprentice
(knowledge is power) Tue 26-Mar-13 13:45:35
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
In reply to a post by Oldjim:
As a non customer you can't create an account on the Plusnet forums so I suggest posting in the usergroup forums where the experts there should pick it up http://usergroup.plus.net/forum/


Er, if camieabz ISP is still PN doesn't that make him a customer? smile

Alastair

omadasafisho
Standard User deleted
(deleted) Tue 26-Mar-13 13:48:04
Print Post

Re: Plusnet Web Space - .htaccess options


[re: Apprentice] [link to this post]
 
How would I know that - as the question isn't about his account
Standard User Apprentice
(knowledge is power) Tue 26-Mar-13 19:56:22
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
Your right Oldjim,sorry, I misread the post ..... looks like it's time for me to visit Specsavers.

Alastair

omadasafisho
Standard User Wagstaff
(committed) Tue 26-Mar-13 23:57:00
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
In reply to a post by Oldjim:
How would I know that - as the question isn't about his account

If his client has a domain and web-space with Plusnet, doesn't that make him a customer?

Wagstaff


"A society that does not punish its criminals shall inevitably be ruled by them."
Standard User camieabz
(sensei) Wed 27-Mar-13 17:31:57
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
Still no response from a rep then?

~ Camieabz ~

All Connection Data ~ Some plusnet links

I've forgotten more about broadband than I care to remember.
Standard User deleted
(deleted) Wed 27-Mar-13 18:01:54
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
You probably won't get a useful one which is why I suggested the user forums either the UserGroup or, if you can use the login of the account the main forums
Standard User camieabz
(sensei) Wed 27-Mar-13 21:22:36
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
I can use my own login, as I am a PN customer too. I just noticed other posts getting answered, and hoped...aw well.

~ Camieabz ~

All Connection Data ~ Some plusnet links

I've forgotten more about broadband than I care to remember.
Standard User deleted
(deleted) Thu 28-Mar-13 09:13:15
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
Hi camieabz,

It's not really my area of expertise, about the only thing I can offer is a guide to .htaccess files on our usergroup site: http://usertools.plus.net/tutorials/?id=5

Apologies if you've seen that already.

Regarding gzip, I believe the standard hosting platform is stripped as bare as it could be for security reasons which is why a lot of the services aren't available there.

If that doesn't help give me a shout and I'll see if there's anyone who knows more.
Standard User camieabz
(sensei) Thu 28-Mar-13 11:38:37
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
run SHOUT.exe

smile

~ Camieabz ~

All Connection Data ~ Some plusnet links

I've forgotten more about broadband than I care to remember.
Standard User deleted
(deleted) Thu 28-Mar-13 12:20:37
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
No command 'shout' found, did you mean:
Command 'scout' from package 'openafs-client' (universe)
Command 'spout' from package 'spout' (universe)
shout: command not found

I jest of course smile I'll see what I can do and post back shortly.
Standard User camieabz
(sensei) Thu 28-Mar-13 13:21:32
Print Post

Re: Plusnet Web Space - .htaccess options


[re: deleted] [link to this post]
 
In reply to a post by orbrey:
No command 'shout' found, did you mean:
Command 'scout' from package 'openafs-client' (universe)
Command 'spout' from package 'spout' (universe)
shout: command not found


run MAC.exe

tongue

~ Camieabz ~

All Connection Data ~ Some plusnet links

I've forgotten more about broadband than I care to remember.
Standard User ian72
(knowledge is power) Thu 28-Mar-13 13:23:20
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
run MAC.exe


Doesn't that only work if you run the GET command first?
Standard User deleted
(deleted) Thu 28-Mar-13 15:21:24
Print Post

Re: Plusnet Web Space - .htaccess options


[re: camieabz] [link to this post]
 
Right... gzip and keep-alive aren't enabled I'm afraid. As for 301 redirects, they should just be standard? i.e.

redirect 301 local/file/path.html http://domain.co.uk/redirected/page.html

Is that not the case here?
Pages in this thread: 1 | 2 | >> (show all)   Print Thread

Jump to