#1  
Old 1st April 2008, 16:12
strix strix is offline
Junior Member
 
Join Date: Apr 2008
Location: Burgas, Bulgaria
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to strix
Default Ubuntu 6.06 LTS Server issues

Hello,
I installed and configured Ubuntu 6.06 LTS Server + ISPConfig as described in this tutorial and everything is running perfect. I host 4 domains on a single static IP, two of them have 3 mail users, but I have some questions:

1. I need webmail access for all 4 domains. I apt-get-ed squirrelmail, but don't know how to configure it to work with 4 domains.

2. I need a directory with directory listing to put some stuff for easy downloading. I followed this thread and created dir with .htaccess file in with:
Code:
Options +Indexes
I also enabled +Indexes, AllowOverride All and Allow from all in /etc/apache2/apache2.conf:
Code:
<Directory /var/www/*/user/*/web>
    Options +Includes +Indexes
    AllowOverride All
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Allow from all
    </Files>
</Directory>
but still have 500 error - Internal Server Error!
In /var/www/ there is no .htaccess file for Options to be inherited.

In /var/www/web2/error.log:
Code:
................
[Tue Apr 01 02:49:49 2008] [error] [client 192.168.160.1] Directory index forbidden by rule: /var/www/web2/web/downloads/
[Tue Apr 01 02:50:34 2008] [alert] [client 192.168.160.1] /var/www/web2/web/downloads/.htaccess: Options not allowed here
................
Any help will be apreciated.
Reply With Quote
Sponsored Links
  #2  
Old 1st April 2008, 16:26
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 41 Times in 35 Posts
Send a message via Skype™ to Leszek
Default

Quote:
1. I need webmail access for all 4 domains. I apt-get-ed squirrelmail, but don't know how to configure it to work with 4 domains.
You should remove the Squirrelmail package and use one (or every one) of the third party tools and add-ons described here: http://ispconfig.org/downloads.htm
Squirrelmail,Telaen Webmail and RoundCube are available.
You can install it by ISPConfig's web interface (Management-->Update).
Reply With Quote
The Following User Says Thank You to Leszek For This Useful Post:
strix (1st April 2008)
  #3  
Old 4th April 2008, 17:48
strix strix is offline
Junior Member
 
Join Date: Apr 2008
Location: Burgas, Bulgaria
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to strix
Default Remove pass phrase on reboot?

The server wants to enter a pass phrase every time when start. How to avoid that?
Code:
..........
Starting ISPConfig system...
Apache/1.3.41 mod_ssl/2.8.31 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide us with the pass phrases.

Server www.somedomain.com:81 (RSA)
Enter pass phrase:
Reply With Quote
  #4  
Old 5th April 2008, 00:45
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 41 Times in 35 Posts
Send a message via Skype™ to Leszek
Default

A quote of the installation instructions from http://ispconfig.org/manual_installation.htm:
Quote:
In step 7 ("Encrypting RSA private key of CA with a pass phrase for security [ca.key]")and step 8 ("Encrypting RSA private key of SERVER with a pass phrase for security [server.key]") of the certificate creation process you are asked if you want to encrypt the respective key now. Choose n there because otherwise you will always be asked for a password whenever you want to restart the ISPConfig system which means it cannot be restarted without human interaction!
Reply With Quote
The Following User Says Thank You to Leszek For This Useful Post:
strix (5th April 2008)
  #5  
Old 5th April 2008, 01:11
strix strix is offline
Junior Member
 
Join Date: Apr 2008
Location: Burgas, Bulgaria
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to strix
 
Default Thank you!

Thanks for pointing me which files are encrypted. Here is the solution for unencrypting them:
They are in directory:
Code:
cd /root/ispconfig/httpd/conf/ssl.key
...and will be unencrypted with following steps:
Code:
openssl rsa -in ca.key -out newca.key
Enter pass phrase:

mv ca.key ca.key-encrypted
mv newca.key ca.key

openssl rsa -in server.key -out newserver.key
Enter pass phrase:

mv server.key server.key-encrypted
mv newserver.key server.key
Then you may test if passphrase is needed by:
Code:
/root/ispconfig/httpd/bin/apachectl stop
/root/ispconfig/httpd/bin/apachectl startssl
Is that simple.
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
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44
Ubuntu 6.06 LTS during ISPConfig MySQL root password error...stuck?? Randall Hoffman General 5 13th March 2007 15:01
Ubuntu 6.06 as a Web Server on a Windows Network timbo Installation/Configuration 1 4th August 2006 12:43
Request: Perfect Ubuntu 6.06 LTS - Automatic LAMP Server Installation (co-location) Anim Suggest HOWTO 19 6th June 2006 11:30


All times are GMT +2. The time now is 07:41.


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