hi,
i had similar problems with a central configuration of mod_rewrite (no .htaccess). In addition some servers/configurations do not support $_SERVER['REDIRECT_URL'], wich is used in netapi.php. I replaced it with $_SERVER['REQUEST_URI']. Seems to work without problems.
A. Kstlbacher
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
i'm getting a 404 when attempting to use netapi.
.htaccess:
php_value output_buffering On
RewriteEngine on
RewriteBase /home/ganx4/www/dietrich/rdf/netapi/
RewriteRule ^[^\.]+$ netapi.php
the path is correct. however, i still get a 404 from apache:
Not Found
The requested URL /home/ganx4/www/dietrich/rdf/netapi/netapi.php was not found on this server.
any idea what the problem is?
thanks!
-d
commenting out the RewriteBase line solved the problem by causing the rule to only be applied to the local subdir.
might add to the docs that this line is optional for some people?
hi,
i had similar problems with a central configuration of mod_rewrite (no .htaccess). In addition some servers/configurations do not support $_SERVER['REDIRECT_URL'], wich is used in netapi.php. I replaced it with $_SERVER['REQUEST_URI']. Seems to work without problems.
A. Kstlbacher