[Codestriker-user] Pretty URL with Virtual Hosts
Brought to you by:
sits
|
From: Tim C. <tim...@sh...> - 2006-07-31 19:24:36
|
I am no apache expert and I am trying to have a "pretty" URL for usage with codestriker instead of something like "http://XXX.XXX.XXX.XXX/codestriker/codestriker.pl". I am using a virtualhost setup and am trying to map the root of the URL to the codestiker perl module. Currently I'm using kind of the default config like this which does not work how I want it: Listen 80 NameVirtualHost XXX.XXX.XXX.XXX:80 <VirtualHost XXX.XXX.XXX.XXX:80> ServerName XXX.XXX.XXX.XXX BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On DocumentRoot /opt/codestriker/codestriker-1.9.2-rc1/cgi-bin/ DirectoryIndex codestriker.pl AddDefaultCharset UTF8 Alias /codestriker/ /opt/codestriker/codestriker-1.9.2-rc1/cgi-bin/ Alias /codestrikerhtml/ /opt/codestriker/codestriker-1.9.2-rc1/html/ <Location /> AllowOverride None Options ExecCGI Order allow,deny Allow from all SetHandler cgi-script </Location> <Directory "/opt/codestriker/codestriker-1.9.2-rc1/html/"> AllowOverride None Allow from all </Directory> </VirtualHost> -- Tim Casada |