Jump to content

Is it possible to install the admin on a different host?


PeterDK
 Share

Recommended Posts

Hi,

My site is 'www.peterdekeer.be', the admin is currently installed under /processwire/.

Is it possible to install it under 'admin.peterdekeer.be'?

I read a few weeks ago about the admin that it's possible to couple it somewhat looser.

Can someone point me in the right direction?

Thx

Link to comment
Share on other sites

I would assume that the simplest way would be to modify the .htaccess file by:

  • Redirecting www.peterdekeer.be/admin to admin.peterdekeer.be; and below that,
  • Rewriting admin.peterdekeer.be as www.peterdekeer.be/admin

I must admit that I would have to look up how to do this exactly...

Link to comment
Share on other sites

I want to do this so I can disable cookies for my 'just content and informantion' website.

If I disable it on the whole server, I cannot get into the admin anymore (normal ofcourse).

So if I can install the admin seperatly, I can disable it on my content site, not on the admin (.htaccess).

Why do I want cookies disabled? For performance reasons! My host comes with varnish installed by default (Gandi.net)

If I activate Varnish I get insanely good response times.

The cookies interfere with that (when Varnish sees a cookie, it thinks the content is 'user specific' but it's not).

Drupal does this already for quite some time (please see the discussion, reasons and solutions there - "Drupal should support disabling anonymous sessions")

Link to comment
Share on other sites

@PeterDK, I'm not sure if this is really possible nor if it is a good idea, but I want to throw it into the discussion:

If you can use symlinks, maybe you can setup two hosts that point to the same directories of wire and site, but have there own index.php and own .htaccess.

admin.domain.tld
  |
  |--index
  |--htaccess
  |
  |-------------------site-symlink----------|
  |-------------------wire-symlink--------| |
                                          | |
                                          | |---------------------site-real
                                          |                     |
                                          |---------wire-real   |
                                               |                |
                                               |                |
  |-------------------wire-symlink-------------|                |
  |-------------------site-symlink------------------------------------
  |
  |--index
  |--htaccess
  |
www.doamin.tld
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...