Post Pacific  

Go Back   Post Pacific > PC Garage > General PC Talk
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 20.04.2006, 06:41   #9
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

http://www.appservnetwork.com/
Appserv is most easly web-server pack. But it's over 20mbytes.
1. Install appserv in c:\appserv\ or anywhere you like...
2. Edit appserv\apache\config\httpd.conf:
Change:
Code:
<Location /server-info>
    SetHandler server-info
    Order deny,allow
#    Deny from all
    Allow from all
</Location>
To:
Code:
<Location /server-info>
    SetHandler server-info
    Order deny,allow
    Deny from all
    Allow from localhost
</Location>
And change this:
Code:
<Location /server-status>
    SetHandler server-status
    Order deny,allow
#  Deny from all
    Allow from all
</Location>
To:
Code:
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost
</Location>
Or disable modules: server-info and server-status.
3. Restrict access to /www/phpmyadmin/ to all, except localhost:
Add this in httpd.conf, or create .htaccess in directory of /phpmyadmin/:
Code:
<Location /phpmyadmin>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Location>
4. Delete all files from /www/, except /phpmyadmin/
5. Place the script, or your web-page in /www/
6. You are finished! Congratulations.
hel is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:02.