This is a discussion on Create "virtual" files within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi everyone, can someone help me with my problem. I'm trying to make apache read files from a database ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everyone,
can someone help me with my problem. I'm trying to make apache read files from a database instead of searching in the file system. The first thing I tried was to add Action myaction /cgi-bin/myscript.pl AddHandler action .my this work but only if the file requested exists, otherwise returns file not found. Then I tried to replace the standart response by ErrorDocument 404 "/cgi-bin/myscript.pl" this worked but server returns HTTP/1.1 404 file not found, and the contents is not displayed in some browsers. Can anybody help me solve my problem. Thanks in advance: Georgi Yanchev |
|
|||
|
samo_cska@yahoo.com (Georgi Yanchev) wrote in message news:<4183d888.0307080723.1384ee35@posting.google. com>...
> Hi everyone, > > can someone help me with my problem. I'm trying to make apache read files > from a database instead of searching in the file system. The first thing I > tried was to add > > Action myaction /cgi-bin/myscript.pl > AddHandler action .my Try: ScriptAliasMatch ^(.*)\.my$ /full/path/to/cgi-bin/myscript.pl Joshua. |
| Thread Tools | |
| Display Modes | |
|
|