nejde httpS
nahodil som debian a veci podla tohto:
http://articles.slicehost.com/2009/4/9/debian-lenny-installing-apache2-and-php5
http://articles.slicehost.com/2009/4/7/debian-lenny-installing-mysql
http://www.debianadmin.com/install-and-configure-apache2-with-php5-and-ssl-support-in-debian-etch.html
naprv mi fungovalo http aj php, ale ako som sa snazil rozchodit httpS, tak som nieco niekde pomenil a uz mi nefunguje ani klasicke http.
sudo /etc/init.d/apache2 restart
[warn] namevirtualhost *80 has no virtualhosts
[warn] namevirtualhost *80 has no virtualhosts
(98)address already in use: make_sock:could not bind to address [::]:443
ale ani za svet nemozem rozchodit httpS. Vypisuje mi - v browseri:
Pri nacitavani https://127.0.0.1 nastala chyba. Nemozem sa pripojit k hostitelovi 127.0.0.1
Pre pridávanie komentárov sa musíte prihlásiť.
teraz mam iny problem: pokusam sa v htaccess nadefinovat:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
aby mi to povolilo a presmerovalo len na https adresy
ale zda sa, ze apache nespracovava htaccess
kde to mam povolit?
a httpd.conf takto http://pastebin.com/m15792ff4