lizardfs/lizardfs — pull request #193 by SirNolaan (2014-11-27 12:33:32+00:00)
Title: cgi: Fix file paths

again...

mfs.cgi not working properly with apache virtual directory

example Apache config:

```
Alias /mfs/ "/usr/share/mfscgi/"

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
AddHandler cgi-script .cgi

```

currently Web browser tries to access the files
http://192.168.1.10/mfs.css
http://192.168.1.10/logomini.png

instead of:
http://192.168.1.10/mfs/mfs.css
http://192.168.1.10/mfs/logomini.png

patch fixes a bug and for me works correctly with mfscgiserv and apache.