Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
httpd.conffile using the Dreamweaver installation on the Windows laptop. Restart the server and crash, Apache will not start. Reloaded the default Apache
httpd.conffile and restarted the server, no problem.
If I don't even make any modifications to the
httpd.conffile, but simply "Save As" and then try to restart the HTTP server it will fail. What is Dreamweaver doing to the file that is rendering it impossible to read by the HTTP server installation on this Windows laptop?
I don't think I'd recommend using any WYSIWYG tool to edit Apache files... :)
As far as your thought process for problem analysis, we think alike. After posting yesterday afternoon I decided to have a closer look at line endings. I was starting into that and that's why I merely opened the file and did a "Save As" without making any changes. I wanted to check those line endings. The default Apache for Windows binary
httpd.conffile has CR LF (
0D 0A). As mentioned, the editing software was setup to use LF only, specifically because of the end server from which the documents would be served. The CR LF was converted to LF only and apache restart failed.
>> it expects <LF>-only *nix line-enders.
Therein may lie the issue. It used to be that way (at least somewhat, on Windows), but not in my recent install. If I use just the LF in this Windows install, the server fails to start every time. Convert to CR LF and we are up and running. I went back to the 2.0.55 install and either one works just fine, CR LF or just LF. So I'm starting to wonder if this is not a WYSIWYG issue at all, rather an Apache version change. Did Apache change something in it's windows HTTP server engine which fails to recognize differences in line endings?
The basis of the issue has changed now, this thread likely deserves it's home in Apache. I'm going to have a look and see if I can find anything in the Apache development notes.
The odd part is nothing has changed on this laptop except the new HTTP Server. I used to open and edit the configuration files with DW in the Apache 2.0.55 install and never had an issue.