Find the answer to your Linux question:
Results 1 to 2 of 2
We have an Apache2 Webserver on Debian with multiple namebased domains (TYPO3 CMS). So far everything works fine apart from files in one folder. There is no problem to access ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    2

    Question Files in symlink folder are not displayed when accessed over domain name


    We have an Apache2 Webserver on Debian with multiple namebased domains (TYPO3 CMS). So far everything works fine apart from files in one folder.

    There is no problem to access this folder over the IP address:
    For example: http://128.130.97.5/cms/typo3/image.gif

    If accessed over the domain name I get an INTERNAL SERVER ERROR.
    For example: http://www.mydomain.com/typo3/image.gif

    The only difference to other folders is that this one is a symlink.
    I did set "Options FollowSymLinks" in the virtual host configuration.
    Is there anything else I have to consider?



    My virtual host configuration:
    -------------------------------------------
    <VirtualHost *>
    ServerAdmin xxxxxxxxxxxxxxxx
    DocumentRoot /var/www/cms/

    ServerName www.mydomain.com

    ErrorLog /var/log/apache2/xyz/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel debug

    CustomLog /var/log/apache2/xyz/access.log combined
    ServerSignature On

    <Directory www.mydomain.com>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>

    <Directory www.mydomain.com/typo3>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>

    <Directory /var/www/cms/>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>

    <Directory /var/www/cms/typo3/>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>

    <Directory /usr/share/typo3/typo3_src-4.0/typo3/>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>

    -------------------------------------------

    I'm happy about any suggestions!

    Christine

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    2

    Problem solved.

    Got the answer on phpfreaks.com, thanks to Steve.

    see http://www.phpfreaks.com/forums/inde...,132756.0.html
    Used an Alias instead of a symlink.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •