Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th January 2011, 23:40
jscholes jscholes is offline
Junior Member
 
Join Date: Oct 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Enabling Apache Directory Indexes for new ISPConfig Domains

Hello,

Today, I decided, after a rebuild and upgrade of my VPS, to try out ISPConfig 3. Armed with my newly purchased copy of the manual, I got to work.

So far, I have to say, I'm extremely impressed. For a single user like me who just needs hosting for a handful of domains/users, it works brilliently. I do have one question though, and my apologies if this question doesn't belong in this forum.

By default, directory listing indexes are disabled for vhosts created by ISPConfig. I was wondering if there is some sort of master config I could edit to enable Apache directory listings for new domains that I add in the future? If there is, what do I need to add to such a file? /usr/ispconfig/server/conf/vhost.master looks like the file I will need to edit, but adding options to enable indexes hasn't worked so far. The reason I ask here is that there is no mention of this in the manual, nor in the ISPConfig UI from what I can see. Sorry if I've overlooked something obvious.

Thanks in advance,

James
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2011, 14:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

You can use that template and add Indexes to the Options line, but please save the modified template in the /usr/local/ispconfig/server/conf-custom/ directory so that it will not be overwritten when you upgrade ISPConfig.

To apply the new template to your existing vhosts, you have to change something in that vhost in ISPConfig (e.g. disable PHP and then switch it back on a few minutes later) so that the vhost configurations get rewritten with the new template.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
Error upgrading ispconfig to 2.2.33 version adrenalinic Installation/Configuration 20 1st October 2009 16:24
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
site - databases trueshanti Installation/Configuration 20 26th May 2006 01:28
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 16:37


All times are GMT +2. The time now is 15:20.


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