-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remote.php with Apache CGI not working #334
Comments
This may be related to #195 |
When you call owncloud.server/remote.php/core.css do you see "garbage"? Then it's a dup, like Lukas said, and the hint with FastCGI could be precious. |
I tried following to reproduce it:
however, I was not able to reproduce it :( everything works fine. |
might be related to web server config. @bartv2 are there requirements for apache2 for remote.php to work? |
I don't see any garbage, the only content of the request response is "No input file specified." and that is it so it doesn't sound like #195 to me. There no indication of it either in the apache error logs. |
I removed the debug flag and created some credentials you can try it out on |
That´s exaclty like my server with deactivated debug, @johndevs! The apache error logs showing me this: [Fri Nov 09 15:22:16 2012] [error] [client xxx] File does not exist: /var/www/polcustcloud/remote.php/core.css, referer: http://www.xxx.xxx/polcustcloud/?app=files |
Please double check:
|
mod_rewrite is enabled, quickly tested it and it is rewriting the urls just fine. Couldn't find the apache.conf anywhere on the hosting environment so couldn't check it. What I could do was add them to the .htaccess file but nothing really changed. I am wondering are the paths correct under PHP Variables. I am serving the pages from an chrooted enviroment if that makes a difference. |
Possibly, the .htaccess cannot be overriden on your hoster? |
"No input file specified" is an error message from GoDaddy. Just do a little google lookup and you will find a few work arounds like |
Added the cgi fix which did the trick, it is working wonderfully now. Thank you @LukasReschke! And thanks to all of you helping out, loving OwnCloud and the community around it :) |
Hi guys, I am experiencing a similar problem:
Please help, I'm pretty excited to get going with OwnCloud :) Regards, |
Did you restart Apache? |
Not yet, can you restart Apache on Godaddy/shared server? I can email them today. |
Found this url of Godaddy's - Why isn't my php.ini not working. http://support.godaddy.com/help/article/5647/why-isnt-my-phpini-file-taking-effect Inside my Control Panel I can go to System Processes and click end web and this apparently helps to restart/refresh php.ini file, unfortunately didn't work for me. The other thing I would like to point to is that /owncloud/remote.php/core.css this doesn't point to the correct location of core.css, instead gives me this as an output - No input file specified. If I go like this however, http://www.bibliostream.com/owncloud/remote.php?core.css it works! So maybe my problem is do with owncloud resources? Any ideas? I think we're pretty close... Thanks, |
My Hoster also use CGI for PHP. RewriteRule ^remote.php/(.*) remote.php?auth=%{HTTP:Authorization}&path=$1 [QSA,L] and if ( isset($_GET['auth']) && !empty($_GET['auth']) ) { if ( isset($_GET['path']) && !empty($_GET['path']) ) { |
I am trying to get OwnCloud 4.5 working on GoDaddy shared hosting. They have apache + FastCGI running on their servers.
The problem I am having is that basically everything going through remote.php gets the response "No input file specified." with a 404 header. This causes all CSS and js not to be loaded and the UI looks totally garbled.
The only workaround I've found to at least be able to use OwnCloud is to use the DEBUG flag in config.php. It at least makes the UI usable but still does not make remote.php work any better.
Has anybody stumbled upon this and if so, is there any workaround?
The text was updated successfully, but these errors were encountered: