#1  
Old 22nd September 2006, 20: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
  #2  
Old 23rd September 2006, 14:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,406
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

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


All times are GMT +2. The time now is 10:17.


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