Alias TAG virtual host
Posted: 06. January 2011 04:24
Hi there,
i have been struck on this for a looooong time now , Basically my "Alias" tag is not working in my c:\xampp\apache\conf\virtual-hosts.conf. Url http://raghu.tkiportal works OK but http://raghu.tkiportal/simplesaml DOES NOT. The directory structure for Alias tag exists in my localhost (i checked)
This is my setting for one of many sites
Do you guys see any fault with my settings? The same setting works on linux box.
Any help would be very much appreciated...Thanks guys
RD
i have been struck on this for a looooong time now , Basically my "Alias" tag is not working in my c:\xampp\apache\conf\virtual-hosts.conf. Url http://raghu.tkiportal works OK but http://raghu.tkiportal/simplesaml DOES NOT. The directory structure for Alias tag exists in my localhost (i checked)
This is my setting for one of many sites
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
AcceptPathInfo On
ServerName raghu.tkiportal
Alias /simplesaml C:/xampp/htdocs/tki_portal4.2/extension/feide/lib/simplesaml/www
DocumentRoot C:/xampp/htdocs/tki_portal4.2
<Directory C:/xampp/htdocs/tki_portal4.2>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
LogLevel debug
ErrorLog C:/xampp/apache/logs/raghu_tki_portal_error.log
CustomLog C:/xampp/apache/logs/raghu_tki_portal_access.log combined
ServerSignature On
RewriteEngine On
RewriteRule ^/var/([^/]+/)?storage/images(-versioned)?/.* /index_image_tki_portal.php [L]
RewriteRule !(^/design|^/var|.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf|mov|html|xml|xsl|htc)$ /index.php
</VirtualHost>
Do you guys see any fault with my settings? The same setting works on linux box.
Any help would be very much appreciated...Thanks guys
RD