Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 5 of 5
  1. #1
    Asok Guest

    Default Log on via HTTPS?

    I have installed OX via Martin's installer, thank you Martin, and I would like to be able to get to the login page from https along with http. Can this be done? Is there a Wiki on it? If so, I have miss it.

    Thanks,
    Asok

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi Asok,

    HTTPS is nothing that needs to be configured OX-specific, it's just adding a certificate and configure apache to use https, i guess there are a lot of manuals out there how to do this.

    Greetings

  3. #3
    Asok Guest

    Default

    Thanks. I was not sure if doing that would break OX or not.

  4. #4
    Asok Guest

    Default

    Here is how I got it to work.

    #Create now certificate
    openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem

    #chmod 600 /etc/apache2/apache.pem

    #a2enmod ssl

    vi /etc/apache2/sites-available/default

    NameVirtualHost *:80
    NameVirtualHost *:443
    <VirtualHost *:80>
    ServerName somedomain.net
    DocumentRoot /var/www/
    ServerAdmin oxadmin@somedomain.net
    SetOutputFilter DEFLATE
    SetEnvIfNoCase REQUEST_URI .(?:gif|jp?g|png)$ no-gzip dont-vary
    DeflateFilterNote Input instream
    DeflateFilterNote Output outstream
    DeflateFilterNote Ratio ratio
    ExpiresActive On
    ExpiresByType image/gif A259200
    ExpiresByType image/png A259200
    ExpiresByType image/jpg A259200
    ExpiresByType image/jpeg A259200
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    </Directory>
    ErrorLog /var/log/apache2/error.log
    LogLevel warn
    CustomLog /var/log/apache2/access.log combined
    ServerSignature On
    </VirtualHost>
    <VirtualHost *:443>
    ServerName somedomain.net
    DocumentRoot /var/www/
    ServerAdmin oxadmin@somedomain.net
    SetOutputFilter DEFLATE
    SetEnvIfNoCase REQUEST_URI .(?:gif|jp?g|png)$ no-gzip dont-vary
    DeflateFilterNote Input instream
    DeflateFilterNote Output outstream
    DeflateFilterNote Ratio ratio
    ExpiresActive On
    ExpiresByType image/gif A259200
    ExpiresByType image/png A259200
    ExpiresByType image/jpg A259200
    ExpiresByType image/jpeg A259200
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    </Directory>
    ErrorLog /var/log/apache2/error.log
    LogLevel warn
    CustomLog /var/log/apache2/access.log combined
    SSLEngine on
    SSLCertificateFile /etc/apache2/apache.pem
    ServerSignature On
    </VirtualHost>


    vi /etc/apache2/ports.conf
    Listen 80
    Listen 443

    /etc/init.d/apache2 restart


    The only problem is that after some reboots I get the following when I try to log on vi http or https

    error:404 - /ajax/login
    Last edited by Asok; 04-01-2008 at 09:32 PM.

  5. #5
    juliusspencer Guest

    Smile

    Thanks Asok!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •