How set up the httpd-ssl.conf for htdocs directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have Apache2.2+Tomcat2.2+SSL works fine with http and https.

How set up the  httpd-ssl.conf  for htdocs directory when the request is HTTPS?

I have many documents on the htdocs directory
 if the program brings the records with links of the documents,the
links opens the document if the  request is HTTP and when the request
is HTTPS  i get HTTP Error 403 - Forbidden Internet.
and in error_log file:
 (13)Permission denied: file permissions deny server access:
/usr/local/apache2.2/htdocs/documents/myfile.pdf

here  is   httpd-ssl.conf file :
<VirtualHost _default_:443>


DocumentRoot "/usr/local/apache2.2/htdocs"
ServerName mydomain:443

ErrorLog /usr/local/apache2.2/logs/error_log
TransferLog /usr/local/apache2.2/logs/access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/apache2.2/conf/mydomain.crt
SSLCertificateKeyFile /usr/local/apache2.2/conf/mydomain.key

Alias /List  "/usr/local/jakarta-tomcat/webapps/List/"

 <Directory "/usr/local/jakarta-tomcat/webapps/List/">
        Options Indexes +FollowSymLinks
        AllowOverride None
        Allow from all
    </Directory>

JkMount  /List/*  example


<Directory "/usr/local/apache2.2/htdocs">
 Order allow,deny
    Allow from all

</Directory>



BrowserMatch ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

CustomLog /usr/local/apache2.2/logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>



Thanks,

Mk

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux