What the 405 error may mean in nginx error log when migrating from Apache to nginx?Experience in migrating from Apache to nginx?What does '0U' mean in apache's error-log?What does the error message 'Attempt to serve directory' mean in apache log?Migrating Apache rewrites to NginxWhat does this nginx error “rewrite or internal redirection cycle” mean?mod_rewrite errors when migrating from Apache 2.4 to Apache 2.2What does `p` option mean when starting NginxWhat does the at-sign “@” mean in nginx location blocks?migrating htaccess from Apache to nginx

How to make thick Asian sauces?

Using new lumber in an old wall with larger lumber dimensions

Diet Coke or water?

Old black and white movie: glowing black rocks slowly turn you into stone upon touch

Is it a problem that pull requests are approved without any comments

Linux tr to convert vertical text to horizontal

How bad would a partial hash leak be, realistically?

Did Darth Vader wear the same suit for 20+ years?

Prove that a function is indefinitely differentiable

Is the capacitor drawn or wired wrongly?

Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?

Can a magnetic field of an object be stronger than its gravity?

Working in the USA for living expenses only; allowed on VWP?

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

In this example, which path would a monster affected by the Dissonant Whispers spell take?

What are the words for people who cause trouble believing they know better?

What are they doing to this poor rocket?

Could the Missouri River be running while Lake Michigan was frozen several meters deep?

Can Green-Flame Blade be cast twice with the Hunter ranger's Horde Breaker ability?

What's the logic behind the the organization of Hamburg's bus transport into "rings"?

Is the decompression of compressed and encrypted data without decryption also theoretically impossible?

What flavor of zksnark in tezos

What's the correct term for a waitress in the Middle Ages?

What do we gain with higher order logics?



What the 405 error may mean in nginx error log when migrating from Apache to nginx?


Experience in migrating from Apache to nginx?What does '0U' mean in apache's error-log?What does the error message 'Attempt to serve directory' mean in apache log?Migrating Apache rewrites to NginxWhat does this nginx error “rewrite or internal redirection cycle” mean?mod_rewrite errors when migrating from Apache 2.4 to Apache 2.2What does `p` option mean when starting NginxWhat does the at-sign “@” mean in nginx location blocks?migrating htaccess from Apache to nginx






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am trying to migrate Topincs installation from Apache to nginx running on Debian Wheezy and using php-fmp. The only error I'm getting is




HTTP/1.1 405 Method Not Allowed




Would be grateful for any hint how to tackle this problem.



Here is my site configuration in /etc/nginx/sites-enabled/my-app



server 
listen 80;
server_name localhost;
index index.php;
root /home/my-app/topincs/docroot;
fastcgi_intercept_errors on;




location ~ .php$
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;


location ~ nkm
fastcgi_param TOPINCS_STORE nkm;
try_files $uri $uri/ /index.php;



location ~ /.[0-9].[0-9]+.[0-9](beta([0-9]+))?

add_header Expires "Fri, 31 Dec 2020 23:59:59 GMT";
add_header Cache-Control "public";


location /nkm
rewrite ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics




Here are original Apache conf files:



httpd.conf



RewriteEngine on
<Directory "/home/my-app/topincs/docroot">
Order allow,deny
Allow from all
DirectoryIndex index.php
AddType 'text/html; charset=UTF-8' .html
DefaultType application/x-httpd-php
php_value include_path "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value default_charset "UTF-8"
php_value magic_quotes_gpc "0"
php_value max_execution_time "7200"
php_value memory_limit "500M"
php_value short_open_tag "0"
</Directory>

<Directory ~ "/home/my-app/topincs/docroot/[0-9].[0-9]+.[0-9](beta([0-9]+))?">
FileETag none
Header set Expires "Fri, 31 Dec 2020 23:59:59 GMT"
Header set Cache-control "public"
</Directory>

Include "/home/my-app/topincs/conf/*.httpd.conf"


The only other file in /home/my-app/topincs/conf/ is nkm.httpd.conf:



<LocationMatch ^/nkm/.*>
SetEnv TOPINCS_STORE nkm
</LocationMatch>

#RewriteRule ^/nkm/test/(.*)$ /nkm/test/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics|css|images|js|vendor|fonts).*)$ /nkm/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm((.|/).*)$ /nkm/.topincs?request=$1 [PT,L,QSA,E=TOPINCS_STORE:nkm]

Alias /nkm "/home/my-app/topincs/docroot"


and to default /etc/php5/fpm/pool.d/www.conf I added the following lines:



php_value[include_path] = "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value[default_charset] = "UTF-8"
php_value[magic_quotes_gpc] = "0"
php_value[php_value max_execution_time] = "7200"
php_value[php_value memory_limit] = "500M"
php_value[php_value short_open_tag] = "0"









share|improve this question
























  • I don't see any obvious issues with the configuration you've posted. I suspect the issue is going to be in your web application.

    – Michael Hampton
    Jun 8 '13 at 17:42











  • The application is running just fine under Apache. Is it possible that differences between php backends might be to blame?

    – helcim
    Jun 8 '13 at 17:46











  • Consider that nginx does not use .htaccess files. So it could be the case that under Apache a .htaccess was used to modify configuration of php and/or apache modules which are required by your application.

    – leepfrog
    Jun 8 '13 at 17:52











  • Do NOT use location ~ .php$ {, it is insecure. See nealpoole.com/blog/2011/04/…

    – NuclearPeon
    May 27 '14 at 1:33

















0















I am trying to migrate Topincs installation from Apache to nginx running on Debian Wheezy and using php-fmp. The only error I'm getting is




HTTP/1.1 405 Method Not Allowed




Would be grateful for any hint how to tackle this problem.



Here is my site configuration in /etc/nginx/sites-enabled/my-app



server 
listen 80;
server_name localhost;
index index.php;
root /home/my-app/topincs/docroot;
fastcgi_intercept_errors on;




location ~ .php$
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;


location ~ nkm
fastcgi_param TOPINCS_STORE nkm;
try_files $uri $uri/ /index.php;



location ~ /.[0-9].[0-9]+.[0-9](beta([0-9]+))?

add_header Expires "Fri, 31 Dec 2020 23:59:59 GMT";
add_header Cache-Control "public";


location /nkm
rewrite ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics




Here are original Apache conf files:



httpd.conf



RewriteEngine on
<Directory "/home/my-app/topincs/docroot">
Order allow,deny
Allow from all
DirectoryIndex index.php
AddType 'text/html; charset=UTF-8' .html
DefaultType application/x-httpd-php
php_value include_path "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value default_charset "UTF-8"
php_value magic_quotes_gpc "0"
php_value max_execution_time "7200"
php_value memory_limit "500M"
php_value short_open_tag "0"
</Directory>

<Directory ~ "/home/my-app/topincs/docroot/[0-9].[0-9]+.[0-9](beta([0-9]+))?">
FileETag none
Header set Expires "Fri, 31 Dec 2020 23:59:59 GMT"
Header set Cache-control "public"
</Directory>

Include "/home/my-app/topincs/conf/*.httpd.conf"


The only other file in /home/my-app/topincs/conf/ is nkm.httpd.conf:



<LocationMatch ^/nkm/.*>
SetEnv TOPINCS_STORE nkm
</LocationMatch>

#RewriteRule ^/nkm/test/(.*)$ /nkm/test/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics|css|images|js|vendor|fonts).*)$ /nkm/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm((.|/).*)$ /nkm/.topincs?request=$1 [PT,L,QSA,E=TOPINCS_STORE:nkm]

Alias /nkm "/home/my-app/topincs/docroot"


and to default /etc/php5/fpm/pool.d/www.conf I added the following lines:



php_value[include_path] = "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value[default_charset] = "UTF-8"
php_value[magic_quotes_gpc] = "0"
php_value[php_value max_execution_time] = "7200"
php_value[php_value memory_limit] = "500M"
php_value[php_value short_open_tag] = "0"









share|improve this question
























  • I don't see any obvious issues with the configuration you've posted. I suspect the issue is going to be in your web application.

    – Michael Hampton
    Jun 8 '13 at 17:42











  • The application is running just fine under Apache. Is it possible that differences between php backends might be to blame?

    – helcim
    Jun 8 '13 at 17:46











  • Consider that nginx does not use .htaccess files. So it could be the case that under Apache a .htaccess was used to modify configuration of php and/or apache modules which are required by your application.

    – leepfrog
    Jun 8 '13 at 17:52











  • Do NOT use location ~ .php$ {, it is insecure. See nealpoole.com/blog/2011/04/…

    – NuclearPeon
    May 27 '14 at 1:33













0












0








0








I am trying to migrate Topincs installation from Apache to nginx running on Debian Wheezy and using php-fmp. The only error I'm getting is




HTTP/1.1 405 Method Not Allowed




Would be grateful for any hint how to tackle this problem.



Here is my site configuration in /etc/nginx/sites-enabled/my-app



server 
listen 80;
server_name localhost;
index index.php;
root /home/my-app/topincs/docroot;
fastcgi_intercept_errors on;




location ~ .php$
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;


location ~ nkm
fastcgi_param TOPINCS_STORE nkm;
try_files $uri $uri/ /index.php;



location ~ /.[0-9].[0-9]+.[0-9](beta([0-9]+))?

add_header Expires "Fri, 31 Dec 2020 23:59:59 GMT";
add_header Cache-Control "public";


location /nkm
rewrite ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics




Here are original Apache conf files:



httpd.conf



RewriteEngine on
<Directory "/home/my-app/topincs/docroot">
Order allow,deny
Allow from all
DirectoryIndex index.php
AddType 'text/html; charset=UTF-8' .html
DefaultType application/x-httpd-php
php_value include_path "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value default_charset "UTF-8"
php_value magic_quotes_gpc "0"
php_value max_execution_time "7200"
php_value memory_limit "500M"
php_value short_open_tag "0"
</Directory>

<Directory ~ "/home/my-app/topincs/docroot/[0-9].[0-9]+.[0-9](beta([0-9]+))?">
FileETag none
Header set Expires "Fri, 31 Dec 2020 23:59:59 GMT"
Header set Cache-control "public"
</Directory>

Include "/home/my-app/topincs/conf/*.httpd.conf"


The only other file in /home/my-app/topincs/conf/ is nkm.httpd.conf:



<LocationMatch ^/nkm/.*>
SetEnv TOPINCS_STORE nkm
</LocationMatch>

#RewriteRule ^/nkm/test/(.*)$ /nkm/test/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics|css|images|js|vendor|fonts).*)$ /nkm/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm((.|/).*)$ /nkm/.topincs?request=$1 [PT,L,QSA,E=TOPINCS_STORE:nkm]

Alias /nkm "/home/my-app/topincs/docroot"


and to default /etc/php5/fpm/pool.d/www.conf I added the following lines:



php_value[include_path] = "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value[default_charset] = "UTF-8"
php_value[magic_quotes_gpc] = "0"
php_value[php_value max_execution_time] = "7200"
php_value[php_value memory_limit] = "500M"
php_value[php_value short_open_tag] = "0"









share|improve this question
















I am trying to migrate Topincs installation from Apache to nginx running on Debian Wheezy and using php-fmp. The only error I'm getting is




HTTP/1.1 405 Method Not Allowed




Would be grateful for any hint how to tackle this problem.



Here is my site configuration in /etc/nginx/sites-enabled/my-app



server 
listen 80;
server_name localhost;
index index.php;
root /home/my-app/topincs/docroot;
fastcgi_intercept_errors on;




location ~ .php$
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;


location ~ nkm
fastcgi_param TOPINCS_STORE nkm;
try_files $uri $uri/ /index.php;



location ~ /.[0-9].[0-9]+.[0-9](beta([0-9]+))?

add_header Expires "Fri, 31 Dec 2020 23:59:59 GMT";
add_header Cache-Control "public";


location /nkm
rewrite ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics




Here are original Apache conf files:



httpd.conf



RewriteEngine on
<Directory "/home/my-app/topincs/docroot">
Order allow,deny
Allow from all
DirectoryIndex index.php
AddType 'text/html; charset=UTF-8' .html
DefaultType application/x-httpd-php
php_value include_path "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value default_charset "UTF-8"
php_value magic_quotes_gpc "0"
php_value max_execution_time "7200"
php_value memory_limit "500M"
php_value short_open_tag "0"
</Directory>

<Directory ~ "/home/my-app/topincs/docroot/[0-9].[0-9]+.[0-9](beta([0-9]+))?">
FileETag none
Header set Expires "Fri, 31 Dec 2020 23:59:59 GMT"
Header set Cache-control "public"
</Directory>

Include "/home/my-app/topincs/conf/*.httpd.conf"


The only other file in /home/my-app/topincs/conf/ is nkm.httpd.conf:



<LocationMatch ^/nkm/.*>
SetEnv TOPINCS_STORE nkm
</LocationMatch>

#RewriteRule ^/nkm/test/(.*)$ /nkm/test/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm/([3-9].[0-9].[0-9].*/(.core-topics|css|images|js|vendor|fonts).*)$ /nkm/$1 [PT,E=TOPINCS_STORE:nkm]
RewriteRule ^/nkm((.|/).*)$ /nkm/.topincs?request=$1 [PT,L,QSA,E=TOPINCS_STORE:nkm]

Alias /nkm "/home/my-app/topincs/docroot"


and to default /etc/php5/fpm/pool.d/www.conf I added the following lines:



php_value[include_path] = "/home/my-app/topincs/php:/home/my-app/topincs/vendor/php"
php_value[default_charset] = "UTF-8"
php_value[magic_quotes_gpc] = "0"
php_value[php_value max_execution_time] = "7200"
php_value[php_value memory_limit] = "500M"
php_value[php_value short_open_tag] = "0"






apache-2.2 nginx fastcgi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 16 '13 at 9:08







helcim

















asked Jun 8 '13 at 10:07









helcimhelcim

1531312




1531312












  • I don't see any obvious issues with the configuration you've posted. I suspect the issue is going to be in your web application.

    – Michael Hampton
    Jun 8 '13 at 17:42











  • The application is running just fine under Apache. Is it possible that differences between php backends might be to blame?

    – helcim
    Jun 8 '13 at 17:46











  • Consider that nginx does not use .htaccess files. So it could be the case that under Apache a .htaccess was used to modify configuration of php and/or apache modules which are required by your application.

    – leepfrog
    Jun 8 '13 at 17:52











  • Do NOT use location ~ .php$ {, it is insecure. See nealpoole.com/blog/2011/04/…

    – NuclearPeon
    May 27 '14 at 1:33

















  • I don't see any obvious issues with the configuration you've posted. I suspect the issue is going to be in your web application.

    – Michael Hampton
    Jun 8 '13 at 17:42











  • The application is running just fine under Apache. Is it possible that differences between php backends might be to blame?

    – helcim
    Jun 8 '13 at 17:46











  • Consider that nginx does not use .htaccess files. So it could be the case that under Apache a .htaccess was used to modify configuration of php and/or apache modules which are required by your application.

    – leepfrog
    Jun 8 '13 at 17:52











  • Do NOT use location ~ .php$ {, it is insecure. See nealpoole.com/blog/2011/04/…

    – NuclearPeon
    May 27 '14 at 1:33
















I don't see any obvious issues with the configuration you've posted. I suspect the issue is going to be in your web application.

– Michael Hampton
Jun 8 '13 at 17:42





I don't see any obvious issues with the configuration you've posted. I suspect the issue is going to be in your web application.

– Michael Hampton
Jun 8 '13 at 17:42













The application is running just fine under Apache. Is it possible that differences between php backends might be to blame?

– helcim
Jun 8 '13 at 17:46





The application is running just fine under Apache. Is it possible that differences between php backends might be to blame?

– helcim
Jun 8 '13 at 17:46













Consider that nginx does not use .htaccess files. So it could be the case that under Apache a .htaccess was used to modify configuration of php and/or apache modules which are required by your application.

– leepfrog
Jun 8 '13 at 17:52





Consider that nginx does not use .htaccess files. So it could be the case that under Apache a .htaccess was used to modify configuration of php and/or apache modules which are required by your application.

– leepfrog
Jun 8 '13 at 17:52













Do NOT use location ~ .php$ {, it is insecure. See nealpoole.com/blog/2011/04/…

– NuclearPeon
May 27 '14 at 1:33





Do NOT use location ~ .php$ {, it is insecure. See nealpoole.com/blog/2011/04/…

– NuclearPeon
May 27 '14 at 1:33










1 Answer
1






active

oldest

votes


















0














Are these requests POSTs? If so, this is a known issue. See here.






share|improve this answer























  • This link is dead. What was the "known issue"?

    – Michael Hampton
    Jan 16 at 16:18











  • Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

    – chrskly
    Jan 25 at 13:47











  • On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

    – chrskly
    Jan 25 at 13:47












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f514313%2fwhat-the-405-error-may-mean-in-nginx-error-log-when-migrating-from-apache-to-ngi%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Are these requests POSTs? If so, this is a known issue. See here.






share|improve this answer























  • This link is dead. What was the "known issue"?

    – Michael Hampton
    Jan 16 at 16:18











  • Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

    – chrskly
    Jan 25 at 13:47











  • On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

    – chrskly
    Jan 25 at 13:47
















0














Are these requests POSTs? If so, this is a known issue. See here.






share|improve this answer























  • This link is dead. What was the "known issue"?

    – Michael Hampton
    Jan 16 at 16:18











  • Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

    – chrskly
    Jan 25 at 13:47











  • On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

    – chrskly
    Jan 25 at 13:47














0












0








0







Are these requests POSTs? If so, this is a known issue. See here.






share|improve this answer













Are these requests POSTs? If so, this is a known issue. See here.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 9 '13 at 22:23









chrsklychrskly

1,194614




1,194614












  • This link is dead. What was the "known issue"?

    – Michael Hampton
    Jan 16 at 16:18











  • Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

    – chrskly
    Jan 25 at 13:47











  • On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

    – chrskly
    Jan 25 at 13:47


















  • This link is dead. What was the "known issue"?

    – Michael Hampton
    Jan 16 at 16:18











  • Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

    – chrskly
    Jan 25 at 13:47











  • On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

    – chrskly
    Jan 25 at 13:47

















This link is dead. What was the "known issue"?

– Michael Hampton
Jan 16 at 16:18





This link is dead. What was the "known issue"?

– Michael Hampton
Jan 16 at 16:18













Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

– chrskly
Jan 25 at 13:47





Pasting the contents below. Essentially, you can't POST to a static page. Although, looking at it now, I'm not sure why I thought it was relevant to the question asked.

– chrskly
Jan 25 at 13:47













On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

– chrskly
Jan 25 at 13:47






On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote: > I'm trying to POST a form to an html page -- there is no code ; i am > just faking a form flow for a client > > nginx gives me a "405 Not Allowed" on the post request ; i can get > the page fine > > is there a directive i can use to get around this ? No, as static page can not handle POST, so nginx return 405. There is workaround: error_page 405 = @405; location = @405 root ...;

– chrskly
Jan 25 at 13:47


















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f514313%2fwhat-the-405-error-may-mean-in-nginx-error-log-when-migrating-from-apache-to-ngi%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020