Hi, I have created a new site page in the "other" category.  My page has been assigned a URL and a link to it has automagically appeared on the homepage under the heading "Other resources", but navigating to the page gives the error "No input file specified.".Any ideas?

Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.

Sorry, hopefully these screenshots show what I've done and what's happening:

Capture.PNG

Capture2.PNG

Capture3.PNG

Capture4.PNG

Could this be an .htaccess conflict?  I have this .htaccess file in /pages:<IfModule mod_rewrite.c>RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_URI} (.*/pages)RewriteRule ^(.*)$ %1/index.php/$1 </IfModule>and this .htaccess in the top level directory to force https:# Force httpsRewriteEngine OnRewriteCond %{HTTPS} !=onRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}

Yes it could be.Does your server answer http requests or only https?

My server does both.  I need that .htaccess to force https otherwise my osTicket directs to http unless the https is typed explicitly.However, I've tried renaming the top level .htaccess to see if this made a difference to the problem and it doesn't.  I have also replaced all the original osTicket files but I still get the same error when I try to view my new page...

2 months later

Hi Nova,Did you ever figure this out? I'm running into the same issue.(In my case the server will only accept HTTPS connections).

P.S.osTicket         v1.10.1CentOS           7.3.1611 Apache 2.4.6-67.el7.centos.6nginx 1.11.10-centos7.17102311MySQL            5.5.56PHP Version 5.4.45I've tried switching from Apache to nginx, which produces a 404 error rather than the "No input file" error.mod_rewrite is on and working.

Bingo! I managed to sort this on my server.In my case I have nginx running, but I disabled "Smart static files processing" and now this osTicket function works as expected.It doesn't quite make sense to me that this would be the fix, as the Site Pages are certainly not 'static' (perhaps a wiser mind can explain this)... but alas my tech life is never short on unsolved mysteries.Hope this helps someone, somewhere, someday.

3 months later

There was no access to pages that I created in the admin area. To keep things simple I changed the .htaccess file in root/pages with:<IfModule mod_rewrite.c>RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_URI} (.*/pages)# RewriteRule ^(.*)$ %1/index.php/$1 RewriteRule ^(.*)$ https://mydomain.biz/pages/index.php/$1 </IfModule>where # RewriteRule ^(.*)$ %1/index.php/$1 is the original and I added my url. Maybe this is helpful for others with the same problem. And of course, change mydomain to yourdomain!katasun

a month later

it works i can confirm, just need to edit Apache config rules

apache.JPG

5 years later

I just find a simple solution that works fine
You only changes in .htaccess file inside pages directory the row
RewriteRule .*$ %1/index.php/$1 [L]
with
RewriteRule .*$ %1/index.php/$1 [R,L]

Write a Reply...