How To Set Up An SSL Vhost Under Apache2 On Ubuntu 9.10/Debian Lenny

Discussion in 'HOWTO-Related Questions' started by wiseman, Mar 11, 2011.

  1. wiseman

    wiseman New Member

    I followed this howto with success thankyou falko

    my question is how can the index.html be show on a web page?
    how can the mix (ln -s -sys link) be show on a web page?
    they are both outside the directory

    here is my /var/www

    total 20
    drwx--x--x 3 root root 4096 Mar 9 19:10 .
    drwxr-xr-x 12 root root 4096 Mar 7 21:45 ..
    lrwxrwxrwx 1 root root 24 Mar 9 19:10 mix -> /var/lib/mix/results
    -rwxr-xr-x 1 root root 4110 Feb 7 2002 index.html
    drwxr-xr-x 2 root root 4096 Mar 7 21:45

    here is my defualt layout from apache.

    <VirtualHost *:80>
    ServerAdmin [email protected]

    DocumentRoot /var/www/
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from ::1/128



    Last edited: Mar 11, 2011
  2. falko

    falko Super Moderator ISPConfig Developer

    If /var/www/ is your document root, you must place your files in that directory.

Share This Page