Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 27.06.2017 Ostrzeżenie: (0%)
|
Dzień dobry Panowie i Panie,
Jestem zupełnie nowa w dziedzinie i niestety ugrzęzłam w miejscu. Gdy wysyłam request z localhosta, to wszystko jest OK, ale gdy request jest wysyłany z innego IP, to pojawia się error 400, mimo, że zapytanie jest dokładnie to samo. Sprawdziłam firewalla i nic mnie nie blokuje. Request "nierozumiany" wysyłany jest z mikrokontrolera (mbed). Czy ktoś się już kiedyś spotkał może z takim problemem lub domyśla się co może być przyczyną? (IMG:http://oi68.tinypic.com/2hp7qs2.jpg) Pozdrawiam! |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 27.06.2017 Ostrzeżenie: (0%)
|
Łapaj (IMG:style_emoticons/default/smile.gif) Wszystko zakomentowane.
# Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.4/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # ##NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ##ServerName or ##ServerAlias in any <VirtualHost> block. # ##<VirtualHost *:80> ##ServerAdmin webmaster@dummy-host.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host.example.com" ##ServerName dummy-host.example.com ##ServerAlias www.dummy-host.example.com ##ErrorLog "logs/dummy-host.example.com-error.log" ##CustomLog "logs/dummy-host.example.com-access.log" common ##</VirtualHost> ##<VirtualHost *:80> ##ServerAdmin webmaster@dummy-host2.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" ##ServerName dummy-host2.example.com ##ErrorLog "logs/dummy-host2.example.com-error.log" ##CustomLog "logs/dummy-host2.example.com-access.log" common ##</VirtualHost> |
|
|
|
kirkol 400 bad request gdy z request jest z innych IP 27.06.2017, 13:16:50
Pyton_000 pokaż vhost z apache. 27.06.2017, 13:23:38
kirkol Chętnie, tylko nie rozumiem co masz na myśli
Cze... 28.06.2017, 07:14:43
eniu Może brakuje tych pozostałych argumentów (dwa osta... 28.06.2017, 08:14:31
Pyton_000 Poszukaj w KodC:/xampp/apache/conf/extr pliku ... 28.06.2017, 08:20:30
Pyton_000 pokaż jeszcze `httpd.conf` 28.06.2017, 08:37:32
kirkol Też łapaj (w kawałkach, bo na jeden post to za dłu... 28.06.2017, 08:52:58
Pyton_000 Wklejaj na jakiś serwis następnym razem długie kaw... 28.06.2017, 09:02:01
kirkol 192.168.1.105 - - [28/Jun/2017:10:06:47 +0200] ... 28.06.2017, 10:45:52 ![]() ![]() |
|
Aktualny czas: 29.12.2025 - 23:35 |