hello list!! I am attempting to setup apache rewrites for a new cobbler server. however this doesn't seem to be working the way I have this setup, and I would appreciate any input you may have to offer.. ## machine info [root@VIRCENT14 cobbler]# cat /etc/redhat-release CentOS release 5.6 (Final) [root@VIRCENT14 cobbler]# uname -a Linux VIRTCENT14 2.6.18-238.9.1.el5xen #1 SMP Tue Apr 12 18:53:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux ## attempting to get apache url rewrites to work RewriteEngine on # <-- this line RewriteRule ^(.*) http://%{SERVER_NAME}/%{REQUEST_URI} [R,L] # <-- and this line are in my vhost ## namevirtualhost is in httpd.conf NameVirtualHost *:80 # NOTE: NameVirtualHost cannot be used without a port specifier ## vhost conf file # This configuration file enables the cobbler web # interface (django version) <VirtualHost *:80> ServerName cobbler.summitnjhome.com ServerAlias www.cobbler.summitnjhome.com # Do not log the requests generated from the event notification system SetEnvIf Request_URI ".*/op/events/user/.*" dontlog # Log only what remains CustomLog logs/access_log combined env=!dontlog <LocationMatch "^/cobbler/web/*"> RewriteEngine on RewriteRule ^(.*) http://%{SERVER_NAME}/%{REQUEST_URI} [R,L] </LocationMatch> <Location "/cobbler_web"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE settings # PythonOption django.root /cobbler_web PythonDebug On PythonPath "['/usr/share/cobbler/web/'] + sys.path" AuthBasicAuthoritative Off AuthType basic AuthName "Cobbler" Require valid-user PythonAuthenHandler cobbler_web.views </Location> </VirtualHost> ## access logs (nothing unusual when hitting cobbler.summitnjhome.com) 192.168.1.18 - admin [21/Apr/2011:16:00:44 -0400] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8" 192.168.1.18 - admin [21/Apr/2011:16:11:28 -0400] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8" ## error logs (also nothing unusual when hitting cobbler.summitnjhome.com) [Thu Apr 21 15:59:58 2011] [notice] mod_python: (Re)importing module 'services' [Thu Apr 21 16:00:02 2011] [notice] mod_python: (Re)importing module 'services' [Thu Apr 21 16:00:07 2011] [notice] mod_python: (Re)importing module 'services' [Thu Apr 21 16:00:12 2011] [notice] mod_python: (Re)importing module 'services' [Thu Apr 21 16:00:16 2011] [notice] mod_python: (Re)importing module 'services' thanks in advance for any input you may have! tim --------------------------------------------------------------------- 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