ABHIONLINUX
Site useful for linux administration and web hosting

2009/07/31

Needed

iptables -i INPUT 1 -s 192.168.0.1 -j drop

DNS working Diagram:
http://westwood.wikispaces.com/file/view/dns-recrussion-big.jpg/36711139

7 comments:

  1. Intervw questions:

    What is sticky bit, where it is used.
    SUExec

    ReplyDelete
  2. first it check on our resolve.conf. from there it will get the ip for that domain.

    otherwise it will check for the isp cache whether it is present there then it will check in
    the root server for the top level domain, after that it will check the secondary domain in
    the root servers. from there it will get the nameservers for that domain. it will send a
    request to that nameserver, from there they will get the A-record. THen it will go to that
    server's httpd.conf and will check for the document root for that domain. from that document
    root it will load the pages.

    ReplyDelete
  3. * php.ini wont works in custom folder if the server is dso(apache). Then register_globals cannot be in on using php.ini, you can change using .htaccess
    php_flag register_globals On

    You can check the server using the commang (dso or cgi)
    php -i | grep axps


    * If suphp is enabled in the server, .htaccess wont work

    ReplyDelete
  4. RewriteEngine on
    Options -MultiViews
    ErrorDocument 404 //test/client_files/statistics/system.php
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^/?$ "http\:\/\/www\.test\.com\/apple" [R=301,L]

    ReplyDelete