Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 4th June 2009, 11:41
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Croydon View Post
In my opinion: yes
ln -s /usr/share/phpmyadmin /var/www/phpmyadmin works for me.
But be sure users need to log in and are not automatically logged in as root
Croydon,

Thanks for that. :-)

Going to have to lie down now...

Slowhand
Reply With Quote
Sponsored Links
  #12  
Old 4th June 2009, 11:51
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Croydon View Post
In my opinion: yes
ln -s /usr/share/phpmyadmin /var/www/phpmyadmin works for me.
But be sure users need to log in and are not automatically logged in as root
Croydon,

Sorry...

Would it be better/safer to use a 'hard' link?

Or not relevant?

As a newb I'm trying very hard to be as secure as possible...

Slowhand
Reply With Quote
  #13  
Old 4th June 2009, 12:30
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default

I would not use hard links.
Reply With Quote
  #14  
Old 4th June 2009, 12:30
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Croydon,

In all that we lost sight of my original question: :-)

If I install <something> in /var/www/something, then every new site will also have access to <something> in /var/www/clients/clientx/something?

The reason I ask is that I would like to figure out how to serve things like phpmyadmin behind https. Seems silly not to...

Slowhand
Reply With Quote
  #15  
Old 4th June 2009, 12:33
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default

Quote:
Originally Posted by Slowhand View Post
Croydon,

In all that we lost sight of my original question: :-)

If I install <something> in /var/www/something, then every new site will also have access to <something> in /var/www/clients/clientx/something?

The reason I ask is that I would like to figure out how to serve things like phpmyadmin behind https. Seems silly not to...

Slowhand
No it is not. /var/www/something is accessible through the MAIN host of ispc only as far as i know.
That's why I created the 2 plugins for phpmyadmin and webmail symlink.

Sure, it depends on the operating system and installed packages and so on (some packages create aliases in the apache config).
Reply With Quote
  #16  
Old 4th June 2009, 12:44
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Croydon View Post
No it is not. /var/www/something is accessible through the MAIN host of ispc only as far as i know.
That's why I created the 2 plugins for phpmyadmin and webmail symlink.

Sure, it depends on the operating system and installed packages and so on (some packages create aliases in the apache config).
Croydon,

Trying to get my head around this...

If I wanted to provide an https folder for every site created using ISPc, would I have to set it up in /var/www and then adapt your plugin for the https folder?

Then place the symlink for phpmyadmin in the https folder?

Was my search & replace technique correct btw?
Reply With Quote
  #17  
Old 4th June 2009, 13:15
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default

Quote:
Originally Posted by Slowhand View Post
Croydon,

Trying to get my head around this...

If I wanted to provide an https folder for every site created using ISPc, would I have to set it up in /var/www and then adapt your plugin for the https folder?

Then place the symlink for phpmyadmin in the https folder?

Was my search & replace technique correct btw?
Ok, it seems to me we talked about different things
I just wanted to create webmail and phpmyadmin urls for all websites.

There is no option in ispc3 (yet) to give a separate folder for https. As soon as you enable ssl (https) for a website the same url is reachable through https and http.
Maybe this could be a feature request for later releases.
Reply With Quote
  #18  
Old 4th June 2009, 13:26
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Croydon View Post
Ok, it seems to me we talked about different things
I just wanted to create webmail and phpmyadmin urls for all websites.

There is no option in ispc3 (yet) to give a separate folder for https. As soon as you enable ssl (https) for a website the same url is reachable through https and http.
Maybe this could be a feature request for later releases.
Croydon,

We're not really talking about separate things. I just want to refine the setup :-)

Would a version of your new plugin be a way to create an https folder in an ISPc site?

Slowhand
Reply With Quote
  #19  
Old 4th June 2009, 13:37
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default

Quote:
Originally Posted by Slowhand View Post
Croydon,

We're not really talking about separate things. I just want to refine the setup :-)

Would a version of your new plugin be a way to create an https folder in an ISPc site?

Slowhand
No, the plugin is really only for a symlink (no matter if https or http).
What you need is rewriting of the vhost config.
Reply With Quote
  #20  
Old 4th June 2009, 13:58
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by Croydon View Post
No, the plugin is really only for a symlink (no matter if https or http).
What you need is rewriting of the vhost config.
Croydon,

Sorry to be dim...

I'm confused about your second version of the plugin then. Would I have to install webmail in /usr/share/? Not /var/www/?

Slowhand
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newb: ISPConfig not showing @ :8080 Slowhand Installation/Configuration 11 2nd June 2009 13:52
Newb needs help savagemania Installation/Configuration 1 9th August 2007 09:58
Newb Guide to the World of Servers latcarf Suggest HOWTO 2 6th February 2007 15:12
extreamly newb question.... gatsu Installation/Configuration 20 13th December 2006 10:42
Best distro choise for newb & some advice pls Planet_Jeroen Technical 4 10th March 2006 09:41


All times are GMT +2. The time now is 14:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.