I just setup a clean new install of 1.17.2, and have got this same error, "no input file specified".

This site is hosted on SiteGround.

    As microsoft is changed so i also installed the new version of OSticket.

    [Edited by Admin - do NOT advertise]

    6 months later

    patricksmithosticket
    Enabling the AllowOverride module allows the use of .htaccess files in your site's configuration, which is often required for URL rewriting rules. Updating the AllowOverride directive to All in your Apache configuration file (httpd.conf) or the site's configuration file (in the sites-available directory) will enable this functionality.

    24 days later

    nothing suggested here helped me except the tipp from @cross-it ...

    I just needed to change [L] to [R,L] in this line in the /api/.htaccess:

    RewriteRule ^(.*)$ %1/http.php/$1 [R,L]

    now its finally wokring. Im using plesk as a hosting panel. (and "php by apache" needs to be activated otherwise the htaccess are not doing anything)

    maybe @KevinTheJedi if it does not "hurt" other installs maybe you can add the "R" to the codebase?

    a month later

    Try this .htaccess.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    
    # Exclude existing files and directories from rewrite
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    # Rewrite URLs that match the /api pattern
    RewriteRule ^api/(.*)$ http.php/$1 [L]
    </IfModule>

    I hope it helps

    Write a Reply...