The Win32 version of Apache, so we have avoided tedious explanationsīy leaving them in throughout. These are necessary for Unix security and, happily, are ignored by You will notice that throughout this book, the Config files always MS-DOS window, Apache keeps on going even after the screen saver has The "_" here is meant to represent a blinking cursor, Now when you run Apache you see: > apache -s What Apache means is that you should put a line in the To generate a file with the four-letter extensionĮffect, but it gives the editor something to save. Which you might think limited to the old MS-DOS 8.3 filename format, What looks like an MS-DOS line editor, edit, Httpd: could not open document config file apache/conf/nf When you run Apache now, you see: Apache/ Otherwise, delete it, and delete srm.conf andĪnf : >del srm.conf >del nf This file if you want to look at it: >ren nf *.cnk Isn't clear what has been changed from the defaults. Wrestle with it he or she may make fearful blunders because it The trouble with simply editing theĬonfiguration files as they are distributed is that the process Sounder and more educational approach is to start from nothing and We could edit it down to something more lucid, but a Turned out to be a formidable document that, in effect, compressesĪll the information we try to convey in the rest of this book into aįew pages. To deal with the first complaint, we looked at the file Syntax error on line 44 of /apache/conf/nf When we ran Apache, we received the following lines: Apache/ Since this is the same as for the Unix version, we will simply sayĪpache is to be started, and thus save lengthy explanations. Necessary line into a file called go.bat. You might want to automate your Apache startup by putting the Is sitting here, and we can start it running, to see what To the /Program Files/Apache directory with: > cd "\Program Files\apache" To run Apache from a console window, select the Apache server optionĪlternatively - and under Win95, this is all you canĭo - click on the MS-DOS prompt to get a DOS session window. Alternatively, you can open aĬonsole window and type: > net start apache Apache then runs in theīackground until you click on Stop. Panel, select Apache, and click on Start. Once this is done, you can open the Services window in the Control Reply from 127.0.0.1: bytes=32 time cd "\Program Files\apache"Īpache can be installed as an NT service with: > apache -i If TCP/IP is working, you should see some collaborative message like: Pinging 127.0.0.1 with 32 bytes of data: IP - and if you can't think of a real one, ping In our experience, if it isn't, Apache will crash Unless TCP/IP is set up and running on your
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |