I have been just using the plain HTTP + the digest auth for the Web UI access.  
I don't use the UI much, but today a colleague wanted me to setup the HTTPS 
access.

Looking at http://cobbler.github.com/manuals/2.2.3/6_-_Web_Interface.html

It seemed to be straightforward.  I added only the following statements to the 
end of /etc/httpd/conf.d/ssl.conf

<LocationMatch "^/cobbler/web/*">
       RewriteEngine on
       RewriteRule ^(.*) https://%{SERVER_NAME}/%{REQUEST_URI} [R,L]
   </LocationMatch>

But then my test of trying to access https://.../cobbler_web I got got

Not Found

The requested URL /cobbler_web was not found on this server.

Checking /var/log/httpd/ssl/ssl_error.log:

[Wed Jun 27 09:43:54 2012] [error] [client ip RADACTED] File does not exist: 
/var/www/html/cobbler_web
[Wed Jun 27 09:43:59 2012] [error] [client ip RADACTED] File does not exist: 
/var/www/html/cobbler_web
[Wed Jun 27 09:44:11 2012] [error] [client ip RADACTED] File does not exist: 
/var/www/html/cobbler_web

The following is what I have done to ssl.conf. Numbers are line numbers:

   225  #   Per-Server Logging:
   226  #   The home of a custom SSL log file. Use this when you want a
   227  #   compact non-error SSL logfile on a virtual host basis.
   228  CustomLog logs/ssl_request_log \
   229            "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
   230  
   231  <LocationMatch "^/cobbler/web/*">
   232      RewriteEngine on
   233      RewriteRule ^(.*) https://%{SERVER_NAME}/%{REQUEST_URI} [R,L]
   234  </LocationMatch>
   235  
   236  </VirtualHost>

I checked and double-checked, but couldn't spot anything wrong. Thanks in 
advance for any hints.

Regards,

Zack


_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to