LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-22-2007, 03:19 PM   #1
estratos
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 85

Rep: Reputation: 15
Webserver problem: 405 Method Not Allowed


I've installed Cherokee webserver on my NSLU2 (OpenSlug OS). PHP files seem to work well but simple html files give this problem:

405 Method Not Allowed

when called from the web browser.

mime.types contains the html type.

The html is really simple, as I said before:

[HTML]<html>
<head>
<title>Test page</title>
</head>
<body>
<br>This is my first test<br>
</body>
</html>
[/HTML]

Any idea of what's happening with my config?

Thanks in advance,

Daniel.
 
Old 07-23-2007, 12:30 AM   #2
wanna13e
Member
 
Registered: Apr 2006
Posts: 45

Rep: Reputation: 15
Quote:
Originally Posted by estratos
I've installed Cherokee webserver on my NSLU2 (OpenSlug OS). PHP files seem to work well but simple html files give this problem:

405 Method Not Allowed

when called from the web browser.

mime.types contains the html type.

The html is really simple, as I said before:

[HTML]<html>
<head>
<title>Test page</title>
</head>
<body>
<br>This is my first test<br>
</body>
</html>
[/HTML]

Any idea of what's happening with my config?

Thanks in advance,

Daniel.
Can take alook at your httpd.conf?
 
Old 07-23-2007, 01:33 AM   #3
estratos
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Hi wanna13e,

This is my cherokee.conf file:

Port 8082
IPv6 Off
Timeout 60
KeepAlive On
MaxKeepAliveRequests 500
ServerTokens Full
PidFile /var/tmp/cherokee.pid
Icons /opt/etc/cherokee/icons.conf
MimeFile /opt/etc/cherokee/mime.types
MimeFile /opt/etc/cherokee/mime.compression.types
Include /opt/etc/cherokee/advanced.conf
Include /opt/etc/cherokee/mods-enabled
Documentroot /home/root/www
DirectoryIndex index.html
Extension php, php3, php4, php5 {
Handler fcgi {
Server localhost:8002 {
Env PHP_FCGI_MAX_REQUESTS "4000"
Env PHP_FCGI_CHILDREN "4"
Interpreter "/opt/bin/php-fcgi -b 8002"
}
}
}


Thanks for your help,

Daniel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
405 Method Not Allowed caps_phisto Linux - General 1 09-27-2006 08:33 AM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 06:09 PM
405 Method Not Allowed (PHP Problem) paul_dundee Programming 2 03-08-2005 07:07 AM
Apache/Webdav/Dreamweaver MX MKCOL 405 Method not allowed swenz Linux - Software 0 03-31-2003 03:47 AM
405 Method Not Allowed - Help 360 Linux - Networking 1 03-25-2002 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration