Old 22nd September 2006, 21:29
phatpaul phatpaul is offline
Junior Member
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Change default sharedip page

At the moment, my server is only accessible via ssh tunnel. The server's domain name points to an IP which is not accessible outside the firewall. So users create a tunnel from localhost:88 to myserver.xx.xx:80. When they browse http://localhost:88 they only get the shared IP page. I know there is a solution involving modifying the hosts file, but I don't want to make users have to go through yet another hoop.

I would like one of my sites to be the default seen when browsed via ip address. To do this, I changed the sharedip section of /etc/apache2/vhosts/Vhosts_ispconfig.conf to point to one of my sites and it worked but it was overwritten after a while.

The next thing I might try is making /var/www/sharedip a link to /var/www/web2/web. The problem with that is Vhosts_ispconfig.conf does not give the parameters I want for the site such as DirectoryIndex and Files sections for php.
Should I bother trying to put all that stuff in a .htaccess file or is there some easier way to do this?
Reply With Quote
Sponsored Links
Old 23rd September 2006, 15:24
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

I recommend to use a .htaccess file. The only other solution is to change the ISPConfig sources.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 13:05
New Default Holding Page mphayesuk General 13 7th July 2007 17:25
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
To change Index page dstme HOWTO-Related Questions 3 17th November 2005 11:03
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 18:54

All times are GMT +2. The time now is 21:46.

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