Menu

http://server/bookmarks.php/user -> 404

Help
2012-01-24
2013-10-27
  • Torsten Sadowski

    Hi,

    I've setup a fresh installation on ubuntu. It works partly but after login
    after *.php/user result in a page not found. Apache has full access to the
    semantic directories and there is nothing helpful in the apache logs. I am a
    bit puzzled what is yet missing.

    Cheers,

    Torsten

    Alias /semantic "/var/semanticscuttle/SemanticScuttle-0.98.4/www/"

    <Directory "="" var="" semanticscuttle="" SemanticScuttle-0.98.4="" www="" "="">

    Options -Indexes FollowSymLinks

    AllowOverride None

    Order deny,allow

    Deny from all

    Allow from 127.0.0.0/255.0.0.0 ::1/128

    Allow from 192.168.0

    </Directory>

    user@host:~$ ls /etc/apache2/mods-enabled/

    alias.conf autoindex.conf mime.conf rewrite.load

    alias.load autoindex.load mime.load setenvif.conf

    auth_basic.load cgi.load negotiation.conf setenvif.load

    authn_file.load deflate.conf negotiation.load status.conf

    authz_default.load deflate.load php5filter.conf status.load

    authz_groupfile.load dir.conf php5filter.load

    authz_host.load dir.load reqtimeout.conf

    authz_user.load env.load reqtimeout.load

     
  • Christian Weiske

    I tried to reproduce it, but failed. Accessing http://bm.bogo/semantic/bookma
    rks.php/test
    works fine ("test"
    is the user here).

     
  • FrasierCrane

    FrasierCrane - 2013-10-24

    Hello, sorry to dig up this old thread but I'm having the same problem.

    I installed SS (0.98.5) on Arch ARM (Raspberry Pi) using Nginx. Everthing works fine - however when I try to log in, the adress changes to *.php/$user and it shows me the "404 Not Found (nginx/1.4.3)" error.

    Judging from the latest post, it seems to have something to do with the PHP filter functions. However, I'm not acquainted with PHP at all and don't know how to check it or do something about it (-I googled it for a while but couldn't find anything helpful).

    I activated the debug mode and on the left side it shows me errors like "Strict Standards: Only variables should be assigned by reference in /usr/share/webapps/semanticscuttle/src/SemanticScuttle/Service/User.php on line 128"

    Hope I posted enough information regarding the error. Thanks for the help, Markus

     
  • Christian Weiske

    @FrasierCrane: That's probably an apachhe speciality that fails here.

    A call to foo.php/bar makes foo.php being called, and /bar is extracted by semanticscuttle. I have no idea if nginx can handle such things.

    You could try to convert the .htaccess rewrite rules into the nginx format and use the clean url feature.

     

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.