Site pve-redirect.conf does not exist!

Hi Guys,

I followed a fresh install of Proxmox 2 last night ( http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Squeeze ) and upon following the Wiki I tried this:

Code:
a2ensite pve-redirect.conf

Which results in the following error:



Any help or advice appreciated.
Hi,
you can reach the webfrontend directly with https://IP.OF.NO.DE:8006
For the redirection create the file /etc/apache2/sites-available/pve-redirect.conf with following content
Code:
<VirtualHost *:80>
    #RewriteLog "/root/rewrite.log"
    #RewriteLogLevel 10
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    RewriteRule ^/(.*) https://%{HTTP_HOST}:8006/$1 [L,R]
</VirtualHost>

<VirtualHost *:443>
    SSLEngine on
    SSLProtocol all -SSLv2
    SSLCertificateFile /etc/pve/local/pve-ssl.pem
    SSLCertificateKeyFile /etc/pve/local/pve-ssl.key

    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    RewriteRule ^/(.*) https://%{HTTP_HOST}:8006/$1 [L,R]
</VirtualHost>
and create an link:
Code:
cd /etc/apache2/sites-enabled
ln -s ../sites-available/pve-redirect.conf .
Udo
 
Hi the files are there but named pve-redirect.conf.dpkg-new or something similar sorry forgot.
Also a2enmod ssl and rewrite needs to be run or you get errors.
The the pem certs are missing aswell ?

Stuart
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!