ErrorDocument not read with fcgid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm trying to use ErrorDocument directive with mod_fcgid but it is not
interpreted as it works fine for static documents. Here is my
virtualhost conf:

<VirtualHost *:80>
  ErrorDocument 403 http://auth.example.com:19876/?lmError=403
  ErrorDocument 404 http://auth.example.com:19876/?lmError=404
  ServerName manager.example.com
  LogLevel debug

  # Redirect REST request to fcgi
  RewriteEngine on
  RewriteRule "^/$" "/psgi/manager-server.fcgi" [PT]
  RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib).*"
  RewriteRule "^/(.+)$" "/psgi/manager-server.fcgi/$1" [PT]

  Alias /psgi/ /home/xavier/dev/lemonldap/e2e-tests/
  <Directory /home/xavier/dev/lemonldap/e2e-tests/>
        SetHandler fcgid-script
        Options +ExecCGI
  </Directory>
  DocumentRoot /home/xavier/dev/lemonldap/lemonldap-ng-manager/site/
  <Location />
    Require all granted
    Options +FollowSymLinks
  </Location>
  <Directory /home/xavier/dev/lemonldap/lemonldap-ng-manager/site/static/>
    Require all granted
    Options +FollowSymLinks
  </Directory>
</VirtualHost>

Regards,
Xavier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux