apachelounge.com/download.
-
Ñîäåðæèìîå ñêà÷åííîãî àðõèâà (òî÷íåå ãîâîðÿ, òîëüêî êàòàëîã Apache24), ðàñïàêóéòå â C:\Server\bin.
-
Ïåðåéäèòå â êàòàëîã c:\Server\bin\Apache24\conf\ è îêòðîéòå ôàéë httpd.conf Ìåíÿåì
- ServerRoot "c:/Apache24" ->ServerRoot "c:/Server/bin/Apache24" *#ServerName www.example.com:80->ServerName localhost *DocumentRoot "c:/Apache24/htdocs"->DocumentRoot "c:/Server/data/htdocs/" *<Directory "c:/Apache24/htdocs"> -> <Directory "c:/Server/data/htdocs/"> *DirectoryIndex index.html ->DirectoryIndex index.php index.html index.htm
*# AllowOverride controls what directives may be placed in .htaccess files.
# AllowOverride FileInfo AuthConfig Limit
AllowOverride None
->
# AllowOverride FileInfo AuthConfig Limit
AllowOverride All
*#LoadModule rewrite_module modules/mod_rewrite.so->LoadModule rewrite_module modules/mod_rewrite.so
-
Ñîõðàíÿåì è çàêðûâàåì ôàéë. Âñ¸, íàñòðîéêà Apache çàâåðøåíà!
-
cmd->c:\Server\bin\Apache24\bin\httpd.exe -k install
-
c:\Server\bin\Apache24\bin\httpd.exe -k start