apli erwtisi peri prosvasis

Panagiotis Voudouris voudouri at cs.bris.ac.uk
Thu Mar 1 23:58:01 EET 2001


Batis wrote:

> Exw Linux loipon (profanws :p) to opoio xrisimopoiw kyriws gia na dokimazw
> kapoia pragmata panw se web applications. Exw loipon stimeno enan Apache
> me PHP, MySQL, PostgreSQL ki ola ta synafi, to zitima einai pws an kapoios
> otan eimai online paei sto http://toipmouedw/ vlepei tis selides pou'xw
> valei ston Apache klp klp.
> 
> Pws ginetai na empodizw tous allous apo to na exoun prosvasi ston server?
> Diladi na dexetai mono ton localhost? Ap'ta /etc/hosts.allow kai
> hosts.deny? Psaxnw gia kati geniko pou na empodizei ti prosvasi, para as
> poume se kathe programma ksexwrista (opws exw kanei logou xari sti MySQL).

Sto httpd.conf kapou sthn arxh prepei na leei kati san:

ServerType standalone

kai parakatw

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

An ta teleutaia ta alla3eis se

Order deny,allow
Deny from all
Allow from localhost

8a eisai ok. Mhn 3exaseis na kaneis restart ton server meta apo tis 
allages. Kati paromoio uparxei sto FAQ tou apache (mesa sto htdocs 
directory).

An sto servertype leei inetd tote to kanonizeis mesa apo ta 
hosts.allow/deny.




More information about the Linux-greek-users mailing list