Commit 963ceb7c authored by Sebastien's avatar Sebastien

Alias et directory path

parent 7201d01a
......@@ -11,6 +11,7 @@
#family-companion
SetEnv FC_HOME #portal_install_dir#
ScriptAlias "#portal_http_root#/cgi" "#portal_install_dir#/cgi"
Alias "#portal_http_root#" "#portal_install_dir#"
RedirectMatch "^#portal_http_root#/*$" #portal_http_root#/web/
RewriteRule ^#portal_http_root#/ws/(\w+)$ #portal_http_root#/cgi/index.cgi?$1=1 [T=application/x-httpd-cgi]
......@@ -19,11 +20,11 @@
ErrorDocument 401 #portal_http_root#/web/
<Directory "#portal_http_root#/cgi">
<Directory "#portal_install_dir#/cgi">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
</Directory>
<Directory "#portal_http_root#/data">
<Directory "#portal_install_dir#/data">
Options -Indexes
AllowOverride All
</Directory>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment