Page 1 of 1

No Publishing in the WebServer- error Log 404 and 304

PostPosted: 15. June 2021 21:51
by caugsilva
Friends
I'm trying to write content in Xampp - Apache - directory

[My Configuration]
Xampp-8-0-6 x64 for Windows 7 64bits

Edited following parametres in 'Apache - Config - Apache(httpd.conf)'

LoadModule rewrite_module modules/mod_rewrite.so (uncommented)

<Directory />
AllowOverride all (changed to all)
Require all granted (changed to granted)
</Directory>

[I'm using WebClient code via Internet connecting directly to Apache WebServer.]
I see Log 404 and 304 in Xampp Apache but no any content file.

connecting...
connected
HTTP/1.1 404 Not Found
Date: Sun, 13 Jun 2021 15:33:12 GMT
Server: Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/8.0.6
Content-Length: 295
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/8.0.6 Server at localhost Port 80</address>
</body></html>

disconnecting.

[I NEED HELP - THANK YOU]

Re: No Publishing in the WebServer- error Log 404 and 304

PostPosted: 16. June 2021 06:31
by Altrea
Hi,

first: 304 is not an error code. Errors are all 4XX or 5XX numbers. 304 means "not modified"

caugsilva wrote:<Directory />
AllowOverride all (changed to all)
Require all granted (changed to granted)
</Directory>

Undo this change. It is not only unneccessary, it is a security issue to do so.

caugsilva wrote:[I'm using WebClient code via Internet connecting directly to Apache WebServer.]
I see Log 404 and 304 in Xampp Apache but no any content file.

We cannot help you without any knowledge about urls or save paths of your files.
Error 404 means that Apache cannot find a ressource for this request.
Either the file is not present, or you have used the wrong url.