[ myrmidon @ 08.06.2005. 16:59 ] @
Pozdrav svima , postavio sam server koji obsluzuje obicne http stranice i tu php radi savseno. Problem nastaje kada predjem na https stranice , tu nemam php podrsku. Sta treba da podesim u apache conf file-ovima ? trenutni conf file za virtual hostove : NameVirtualHost xxxxx:80 NameVirtualHost xxxxx:80 NameVirtualHost xxxxx:443 NameVirtualHost xxxxx:443 ServerName xxxxxxx.com ServerAdmin xxx@xxxxx DocumentRoot /home/httpd/vhosts/default/htdocs <Directory "/home/httpd/vhosts"> AllowOverride All Options SymLinksIfOwnerMatch Order allow,deny Allow from all php_admin_flag engine off </Directory> <Directory "/var/mailman"> AllowOverride All Options SymLinksIfOwnerMatch Order allow,deny Allow from all php_admin_flag engine off </Directory> <IfModule mod_userdir.c> UserDir disabled </IfModule> <VirtualHost \ xxxxxxx:80 \ xxxxxxxx:80 \ > ServerName default UseCanonicalName Off DocumentRoot /home/httpd/vhosts/default/htdocs ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/" <IfModule mod_ssl.c> SSLEngine off </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} ^\/[0-9]{1,3}(\.[0-9]{1,3}){3}\/.{0,}$ RewriteRule ^(.{0,})$ /preview.php?$1 [L] </IfModule> <Directory "/home/httpd/vhosts/default/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory /home/httpd/vhosts/default/htdocs> <IfModule sapi_apache2.c> php_admin_flag engine on php_admin_value open_basedir "/home/httpd/vhosts/default/htdocs:/tmp" </IfModule> </Directory> </VirtualHost> <IfModule mod_ssl.c> <VirtualHost xxxxx:443 > ServerName default- UseCanonicalName Off DocumentRoot /home/httpd/vhosts/default/httpsdocs ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/" SSLEngine on SSLVerifyClient none SSLCertificateFile /usr/local/psa/var/certificates/certgvv5841 <Directory "/home/httpd/vhosts/default/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory /home/httpd/vhosts/default/httpsdocs> SSLRequireSSL </Directory> </VirtualHost> <VirtualHost xxxxxxxx:443 > ServerName default- UseCanonicalName Off DocumentRoot /home/httpd/vhosts/default/httpsdocs ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/" SSLEngine on SSLVerifyClient none SSLCertificateFile /usr/local/psa/var/certificates/certgvv5841 <Directory "/home/httpd/vhosts/default/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory /home/httpd/vhosts/default/httpsdocs> SSLRequireSSL </Directory> </VirtualHost> </IfModule> <VirtualHost \ xxxxxx:80 \ xxxxxxx.175:80 \ > DocumentRoot /home/httpd/vhosts/webmail ServerName webmail ServerAlias webmail.* UseCanonicalName Off <Directory /home/httpd/vhosts/webmail/horde> <IfModule sapi_apache2.c> php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_flag safe_mode off php_admin_value open_basedir "/home/httpd/vhosts/webmail:/etc/psa:/tmp" php_admin_value include_path "/home/httpd/vhosts/webmail/horde/lib:/home/httpd/vhosts/webmail/horde/pear:." </IfModule> </Directory> </VirtualHost> <IfModule mod_ssl.c> <VirtualHost \ xxxxxx:443 \ xxxxxxx:443 \ > DocumentRoot /home/httpd/vhosts/webmail ServerName webmail ServerAlias webmail.* UseCanonicalName Off SSLEngine on SSLVerifyClient none SSLCertificateFile /etc/httpd/conf/httpd.pem <Directory /home/httpd/vhosts/webmail/horde> <IfModule sapi_apache2.c> php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_flag safe_mode off php_admin_value open_basedir "/home/httpd/vhosts/webmail:/etc/psa:/tmp" php_admin_value include_path "/home/httpd/vhosts/webmail/horde/lib:/home/httpd/vhosts/webmail/horde/pear:." </IfModule> SSLRequireSSL </Directory> </VirtualHost> </IfModule> <VirtualHost \ xxxxx:80 \ xxxxxxx:80 \ > DocumentRoot /home/httpd/vhosts/default/htdocs ServerName lists ServerAlias lists.* UseCanonicalName Off ScriptAlias /mailman/ /var/mailman/cgi-bin/ Alias /icons/ /var/www/icons/ Alias /pipermail/ /var/mailman/archives/public/ <Directory /var/mailman/archives/> Options FollowSymLinks </Directory> </VirtualHost> <IfModule mod_ssl.c> <VirtualHost \ xxxxx:443 \ xxxxxx:443 \ > DocumentRoot /home/httpd/vhosts/default/httpsdocs ServerName lists ServerAlias lists.* UseCanonicalName Off ScriptAlias /mailman/ /var/mailman/cgi-bin/ Alias /icons/ /var/www/icons/ Alias /pipermail/ /var/mailman/archives/public/ <Directory /var/mailman/archives/> Options FollowSymLinks </Directory> </VirtualHost> </IfModule> Include /home/httpd/vhosts/xyz.net/conf/httpd.include Include /home/httpd/vhosts/xyz.com/conf/httpd.include |