Hi,

I'm hitting a Symbolic link problem. I'm not sure what causing it. Is
anyone could help with this?

## Current Configuration##
html directory:
[EMAIL PROTECTED] /var/www/html]
$ls -ltra
-rw-r--r-- 1 root   root     24 2008-02-13 14:21 .htaccess
lrwxrwxrwx 1 root   root      8 2008-02-14 09:40 testTracEnvWWW ->testTrac
drwxr-xr-x 8 apache apache 4096 2008-02-14 09:40 testTrac
lrwxrwxrwx 1 root   root     30 2008-02-14 09:57 testTracEnv ->
/home/trac/tracEnv/testTracEnv
lrwxrwxrwx 1 root   root     15 2008-02-14 10:09 testLN -> /tmp/php-fusion

Apache httpd.conf:
# Test trac with Apache, Trac Env is under trac home directory
<Location /testTracEnv>
 SetHandler mod_python
 PythonInterpreter main_interpreter
 PythonHandler trac.web.modpython_frontend
 #Soft link to /home/trac/tracEnv/testTracEnv/
 PythonOption TracEnv  /var/www/html/testTracEnv/
</Location>

# Test trac with Apache, Trac Env is under www/html
<Location /testTracEnvWWW>
 SetHandler mod_python
 PythonInterpreter main_interpreter
 PythonHandler trac.web.modpython_frontend
 #Soft link to /var/www/html/testTrac/
 PythonOption TracEnv  /var/www/html/testTracEnvWWW/
</Location>

## Test Cases##
http://localhost/testLN/news.php, which follows the softlink to
/tmp/php-fusion. This is a non Trac project just php CMS website. It
works fine with softlink.

http://localhost/testTracEnvWWW/, which follows the softlink to
/var/www/html/testTrac. It works fine as well.

http://localhost/testTracEnv, which follows the softlink to
/home/trac/tracEnv/testTracEnv/. It doesn't work, giving me following
error

Error::
[EMAIL PROTECTED] /home/qianli/myLib/rhino1_6/rhino1_6R7/build/classes]
$tail /etc/httpd/logs/error_log
[Thu Feb 14 09:58:31 2008] [notice] caught SIGTERM, shutting down
[Thu Feb 14 09:58:31 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Thu Feb 14 09:58:31 2008] [warn] module python_module is already
loaded, skipping
[Thu Feb 14 09:58:31 2008] [warn] module dav_svn_module is already
loaded, skipping
[Thu Feb 14 09:58:31 2008] [notice] Digest: generating secret for
digest authentication ...
[Thu Feb 14 09:58:31 2008] [notice] Digest: done
[Thu Feb 14 09:58:31 2008] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Thu Feb 14 09:58:31 2008] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 14 09:58:31 2008] [notice] Apache/2.2.6 (Unix) DAV/2
mod_python/3.3.1 Python/2.5.1 SVN/1.4.4 PHP/5.2.4 mod_ssl/2.2.6
OpenSSL/0.9.8b mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming
normal operations
[Thu Feb 14 10:05:19 2008] [error] [client 127.0.0.1] Symbolic link
not allowed or link target not accessible: /var/www/html/testTracEnv


Thanks for your help in advance.

Kind regards,
Qian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to