Using Aliases with VirtualDocumentRoot doesn't work

This is a discussion on Using Aliases with VirtualDocumentRoot doesn't work within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi I've set up a Debian development server here at home. The aim was to provide an easy way ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-04-2004
Mario Aeby
 
Posts: n/a
Default Using Aliases with VirtualDocumentRoot doesn't work

Hi

I've set up a Debian development server here at home. The aim was to
provide an easy way to access all my projects by using a URL like

<project>.dev.emeidi.local

I therefore set up BIND the correct way and added the following lines
to httpd.conf, at the bottom:

VirtualDocumentRoot /var/www/%1
VirtualScriptAlias /var/www/cgi-bin/

There are some directories I'd like to show its content as listing. I
therefore created a .htaccess-File with the following settings:

Options Indexes

IndexOptions +FoldersFirst
IndexOptions +NameWidth=48
IndexOptions +SuppressColumnSorting
IndexOptions +SuppressDescription

The listing appears, but the icons aren't being displayed, a broken
image appears instead. When looking at the error.log, it says:

[Mon Oct 4 17:06:26 2004] [error] [client 192.168.0.102] File does not
exist: /var/www/project/icons/sound2.gif

Well, but I remember there was this Alias-setup in httpd.conf which says:

<IfModule mod_alias.c>
Alias /icons/ /usr/share/apache/icons/

<Directory /usr/share/apache/icons>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Why is this Alias not resolved?

Should be correct. Any clues?

Thanks for any help
Kind regards
Mario

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0