Menu

netapi configuration?

Help
2004-09-10
2013-03-14
  • Dietrich Ayala

    Dietrich Ayala - 2004-09-10

    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

     
    • Dietrich Ayala

      Dietrich Ayala - 2004-09-11

      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?

       
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.