When I delete the index.php file from my web root directory and place the index.html there, then everything is fine, and there are no errors, no matter if index.php file has The Dice Star Strikes Back What is the difference (if any) between "not true" and "false"? Is it possible to keep publishing under my professional (maiden) name, different from my married legal name? Posts: 6Joined: Sat Nov 30, 2013 9:44 am by Sp4rKy » Fri Mar 14, 2014 3:41 pm Check the permissions of the file you try to access.

It needs to be readable by the webserver user. I already knew about "include conf.d/fastcgi" line but when starting lighttpd it always stated: "Cannot load plugin mod_fastcgi more than once, please fix your config (we may not accept such configs you need to include both lines. (1-1/1) Loading... Replies (1) RE: 403 Forbidden with PHP FastCGI - Added by mkh almost 4 years ago Solved!

remove the hashtag on the line with include "conf.d/fastcgi.conf" RE: Get 403 on .php test file however .html test file ok - Added by Atronach about 4 years ago It works! These Aren't Roasted! By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Why is JK Rowling considered 'bad at math'? 4 dogs have been born in the same week.

Join our community today! What should I do? How does a Spatial Reference System like WGS84 have an elipsoid and a geoid? Check for any access module (mod_access) statements in the config file (lighttpd.conf) Example: url.access-deny = ( "", ".php"); Docs: Module mod_access share|improve this answer edited Feb 26 '15 at 3:31 answered

more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Anyway, to my knowledge the webserver runs from /var/www and that's where it looks for index.html. Off the Zero Reply List. As I said, I don't have much knowledge with the pi, so I have no idea with what is going wrong and I have looked on the Internet but everything is

What is a Waterfall Word™? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Make an ASCII bat fly around an ASCII moon Is there a way to view total rocket mass in KSP? sudo apt-get install php5-cgi enable fastcgi modules sudo lighttpd-enable-mod fastcgi fastcgi-php and finally reload sudo service lighttpd force-reload share|improve this answer answered Nov 5 '14 at 6:52 Tomáš Mika 411

Yinipar's first letter with low quality when zooming in How to unlink (remove) the special hardlink "." created for a folder? I added a simple index.html with "Hello World!" to test the setup, but I keep getting a 403 forbidden error when surfing to ls -l in /media/storage/www : total 8 -rw-r--r-- In /etc/lighttpd/lighttpd.conf:server.port = 62543$SERVER["socket"] == ":61359" { ssl.engine = "enable" ssl.pemfile = "/home/david/cacert.pem" } 3. I'm using light on other platforms as well and I'm very happy with it, perhaps because the configuration is also simpler .

How do you get a dragon head in Minecraft? Soft question: What exactly is a solver in optimization? Are you new to LinuxQuestions.org? take a look at that wiki page..

I also removed the the mod_cgi from my server modules section. Is a food chain without plants plausible? I have tried setting the directories to 777 and I still got errors. Adv Reply June 23rd, 2010 #5 commandant_gogo View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2007 Location France Beans 6 DistroUbuntu 9.10 Karmic Koala

RE: Forbidden 403 - Added by mailfigo about 5 years ago yes i have used spawnfcgi? Also is there any errors in your logs? –Martin Jul 18 '12 at 9:18 Does this can helps? If that's the case, you have to add the following line to your config: dir-listing.activate = "enable" share|improve this answer answered Sep 26 '10 at 15:23 AEP 40224 add a comment| The file looks like this: Code: # /usr/share/doc/lighttpd-doc/fastcgi.txt.gz # http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi ## Start an FastCGI server for php (needs the php5-cgi package) fastcgi.server += ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket"

For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Thanks so much, I can't believe I didn't notice that. Haha. (1-2/2) Loading... Why is JK Rowling considered 'bad at math'?

have you tried stop lighttpd then check if its still running or not then start it again? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. My web pages worked fine when accessed from a different computer using my RPi's IP address on the local network, 192.168.11.122, but when I tried to access my index.html page from What is the probability that they were born on different days?

Can 「持ち込んだ食品を飲食するのは禁止である。」be simplified for a notification board? You also need to enable module fastcgi in addition to fastcgi-php Last edited by alienDog; 01-07-2013 at 06:58 PM. ultimately the modules were not loaded (not sure how or why), but executed the following and it works properly now sudo lighttpd-enable-mod fastcgi fastcgi-php hope this helps anyone else landing on HTML files work fine, but php's don't.

As far as chmod.. Why do people move their cameras in a square motion?

This has got nothing to do with Perl in general. how to rectify this. The CGI program I eventually got to work was the Motion related project called mj-prox. Ubuntu Logo, Ubuntu and Canonical ? Canonical Ltd. I added the "server.modules" line here: Code: server.modules += ( "mod_cgi" ) alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) $HTTP["remoteip"] =~ "127.0.0.1" { alias.url = ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) $HTTP["url"] Add another \r\n after the Content-Type line and it ...

Do you want to help us debug the posting issues ? < is the place to report it, thanks ! If this file not found you get error 500. Forum Statistics Discussions: 53,605 Messages: 284,263 Members: 91,761 Latest Member: ok ny Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Programming/Scripts > English Thanks!!! Is there a difference between u and c in mknod How is the ATC language structured? tell me what to do.. Ubuntu Ubuntu Insights Planet Ubu...