Update information Edit(Aug.11)
Yesterday, I had the PC which was installed Windows7HP+SP1(x86) as I wrote the article. It is good for me to create a new Wamp-like Web Server.
First I make two partitions. One for server wares(Drive_SV), another for other files(drive_DC).
By the way, during creation, Windows Firewall gives alerts several times. At the time, confirm and open required ports. Well, let me get started.
The installation of the Apache HTTP Server.
| Default | Custom | |
| 1 | ServerRoot “c:/Apache24” | ServerRoot “Drive_SV:/Apache24” |
| 2 | ServerAdmin admin@example.com | ServerAdmin My email address |
| 3 | #ServerName www.example.com:80 | ServerName xxx.xxx.xxx.xxx:80 |
| 4 | DocumentRoot “c:/Apache24/htdocs” | DocumentRoot “drive_DC:/WEB/htdocs” |
| 5 | <Directory “c:/Apache24/htdocs”> | <Directory “drive_DC:/WEB/htdocs”> |
| 6 | Options Indexes FollowSymLinks | Options FollowSymLinks |
| 7 | ErrorLog “logs/error.log” | ErrorLog “|bin/rotatelogs.exe -l -f logs/error.%Y.%m.%d 86400” |
| 8 | CustomLog “logs/access.log” common | # CustomLog “logs/access.log” common |
| 9 | #CustomLog “logs/access.log” combined | CustomLog “|bin/rotatelogs.exe -l -f logs/access.%Y.%m.%d 86400” combined |
| 10 | ScriptAlias /cgi-bin/ “c:/Apache24/cgi-bin/” | ScriptAlias /cgi-bin/ “drive_DC:/WEB/cgi-bin/” |
| 11 | <Directory “c:/Apache24/cgi-bin”> | <Directory “drive_DC:/WEB/cgi-bin”> |
| 12 | Require all granted | Require ip Lan IP range (Access control to cgi-bin directory) |
| 13 | ServerTokens Prod |
Install as a Service:
>httpd.exe -k install
Make an ApacheMonitor.exe shortcut in the Windows Startup folder. Start Apache.
Edit(Aug.11):
These days, I was in trouble because my Apache sometimes made no response. At that time, I think the error log gave me the message “(OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.”, so I added the next lines my httpd.conf. (Ref:AcceptFilter Directive)
<IfModule mpm_winnt_module>
AcceptFilter http none
AcceptFilter https none
</IfModule>
The laptop mentioned previous article successfully became 24H2. The touchpad was risen because the battery…
I had a cheap laptop from Amazon and had used it to watch streaming programs…
The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…
After a long time, when I checked broken links and fixed them, I got an…
I made a box, so I prepare the contents. Theme and Plugins. The theme is…
Hehe, it's been almost a year since my last post. I received a notification email…
This website uses cookies.