No Publishing in the WebServer- error Log 404 and 304

Problems with the Windows version of XAMPP, questions, comments, and anything related.

No Publishing in the WebServer- error Log 404 and 304

Postby caugsilva » 15. June 2021 21:51

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]
caugsilva
 
Posts: 1
Joined: 15. June 2021 21:35
XAMPP version: 8.06
Operating System: win 7 64 bits

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

Postby Altrea » 16. June 2021 06:31

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 120 guests