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.
* 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
Intervw questions:
ReplyDeleteWhat is sticky bit, where it is used.
SUExec
http://www.ip-adress.com/trace_emai
ReplyDeleteiptable -L -n | grep IPADDRESS
ReplyDeletefirst it check on our resolve.conf. from there it will get the ip for that domain.
ReplyDeleteotherwise 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.
* 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
ReplyDeletephp_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
ID ca-pub-9463829923357604.
ReplyDeleteRewriteEngine on
ReplyDeleteOptions -MultiViews
ErrorDocument 404 //test/client_files/statistics/system.php
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/www\.test\.com\/apple" [R=301,L]