Ubuntu-RS forumi
npm server help - Verzija za Štampu

+- Ubuntu-RS forumi (http://forum.ubuntu-rs.org)
+-- Forum: Ubuntu opšta podrška (/Forum-ubuntu-opsta-podrska)
+--- Forum: Ubuntu server (/Forum-ubuntu-server)
+--- Tema: npm server help (/Thread-npm-server-help)



npm server help - savkevip - 18.07.2016. 23.23

Imam problem ne samo na npm severu vec i u apache severu kad pokusam da testiram kontakt formu izbaci mi ovo u konzoli
Kod:
405 method not allowed post
Pomagajte braco je l moze ovo da se resi? Smile


RE: npm server help - charobnjak - 21.07.2016. 16.53

Tvoj post oce izgleda da uradi ovo
https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

Al ajde probaj da promenis vlasnistvo ako vec nisi
Kod:
chown -R www-data:www-data /putanja/do/servera


405
Citat:405 errors in the HTTP cycle
Any client (e.g. your Web browser or our CheckUpDown robot) goes through the following cycle when it communicates with the Web server:

Obtain an IP address from the IP name of the site (the site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
Open an IP socket connection to that IP address.
Write an HTTP data stream through that socket.
Receive an HTTP data stream back from the Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.
This error occurs in the final step above when the client receives an HTTP status code that it recognises as '405'.



RE: npm server help - savkevip - 04.08.2016. 09.34

Resio sam jeste bila u pitanju putanja server!

Hvala punoo! Smile


RE: npm server help - charobnjak - 05.08.2016. 18.49

Zatvori temu Smile