ÎÊ£ºÇëÎÊLinuxÏÂÓÐûÓжϵãÐø´«µÄÈí¼þ£¿
ÎÊ£ºÎÒÒÔÇ°ÊÇ×öWindowsϵͳ¹ÜÀíµÄ£¬ÏÖÔÚתµ½LinuxÏÂÓÐЩ²»Ï°¹ßÈ«×Ö·û½çÃ棬µ«Êǹ«Ë¾²»ÔÊÐíÔÚ·þÎñÆ÷ÉÏ×°X-Windowϵͳ£¬ÇëÎÊÓÐûÓпÉÒÔÔ¶³Ì¹ÜÀíµÄͼÐι¤¾ß£¿
ÎÊ£ºÊ¹ÓÃApache¼ÜÉèWebÕ¾µãºó£¬ÎÒ°ÑÎĵµÂ·¾¶ÓÉ/var/www/html/ÐÞ¸ÄΪ/home/myweb£¬ÖØÐÂÆô¶¯Apacheºó£¬ÊäÈë¸úÔÀ´Ò»ÑùµÄURLºóÏÔʾÈçÏ´íÎó£º
Forbidden
You don't have permission to access / on this server.
ÕâÊÇÔõô»ØÊ£¿
´ð£ºÇëÈ·ÈÏ/home/mywebÓë/var/html/wwwµÄȨÏÞÊôÐÔÊÇ·ñÏàͬ£¬Web·ÃÎÊÐèÒª¡°drwxr-xr-x¡±È¨ÏÞ¡£Èç¹ûÎļþµÄȨÏÞÏàͬ£¬¾ÍÊÇÒòΪ/homeĿ¼µÄȨÏÞºÍ/var/htmlĿ¼µÄ²»Í¬¡£
ÎÊ£ºÎÒÔÚ°²×°Fedora Core 1.0ʱѡÔñÆôÓ÷À»ðǽ£¬ÏÖÔÚа²×°ÁËÒ»¸öÈí¼þ£¬ÐèÒªÆôÓÃTCPÐÒéµÄ1521¶Ë¿Ú¡£ÈçºÎ²Ù×÷iptablesʹÆäÄܹ»Ë³Àûͨ¹ý1521¶Ë¿Ú£¿¾ÍÏñWWW¡¢telnetºÍFTPµÈÄÜ˳Àûͨ¹ý·À»ðǽһÑù¡£
´ð£º¿ÉÒÔÊÔÊÔÒÔÏÂÃüÁ
#iptables -A INPUT -p tcp --dport 1521 -j ACCEPT
#/etc/rc.d/init.d/iptables save
ÎÊ£ºÇëÎÊLinuxÏÂÓÐûÓжϵãÐø´«µÄÈí¼þ£¿
ÎÊ£ºÎÒÒÔÇ°ÊÇ×öWindowsϵͳ¹ÜÀíµÄ£¬ÏÖÔÚתµ½LinuxÏÂÓÐЩ²»Ï°¹ßÈ«×Ö·û½çÃ棬µ«Êǹ«Ë¾²»ÔÊÐíÔÚ·þÎñÆ÷ÉÏ×°X-Windowϵͳ£¬ÇëÎÊÓÐûÓпÉÒÔÔ¶³Ì¹ÜÀíµÄͼÐι¤¾ß£¿
ÎÊ£ºÊ¹ÓÃApache¼ÜÉèWebÕ¾µãºó£¬ÎÒ°ÑÎĵµÂ·¾¶ÓÉ/var/www/html/ÐÞ¸ÄΪ/home/myweb£¬ÖØÐÂÆô¶¯Apacheºó£¬ÊäÈë¸úÔÀ´Ò»ÑùµÄURLºóÏÔʾÈçÏ´íÎó£º
Forbidden
You don't have permission to access / on this server.
ÕâÊÇÔõô»ØÊ£¿
´ð£ºÇëÈ·ÈÏ/home/mywebÓë/var/html/wwwµÄȨÏÞÊôÐÔÊÇ·ñÏàͬ£¬Web·ÃÎÊÐèÒª¡°drwxr-xr-x¡±È¨ÏÞ¡£Èç¹ûÎļþµÄȨÏÞÏàͬ£¬¾ÍÊÇÒòΪ/homeĿ¼µÄȨÏÞºÍ/var/htmlĿ¼µÄ²»Í¬¡£
ÎÊ£ºÎÒÔÚ°²×°Fedora Core 1.0ʱѡÔñÆôÓ÷À»ðǽ£¬ÏÖÔÚа²×°ÁËÒ»¸öÈí¼þ£¬ÐèÒªÆôÓÃTCPÐÒéµÄ1521¶Ë¿Ú¡£ÈçºÎ²Ù×÷iptablesʹÆäÄܹ»Ë³Àûͨ¹ý1521¶Ë¿Ú£¿¾ÍÏñWWW¡¢telnetºÍFTPµÈÄÜ˳Àûͨ¹ý·À»ðǽһÑù¡£
´ð£º¿ÉÒÔÊÔÊÔÒÔÏÂÃüÁ
#iptables -A INPUT -p tcp --dport 1521 -j ACCEPT
#/etc/rc.d/init.d/iptables save
suker ÓÚ 2006-10-28 09:37:12·¢±í:
Ö§³Öһϡ£ÐÁ¿àÄúÁË
1111sbb ÓÚ 2006-10-26 23:16:38·¢±í:
:0L :0L
xkx ÓÚ 2006-10-26 14:31:40·¢±í:
:time:1 :0L
lancy_lancy ÓÚ 2006-10-25 15:06:50·¢±í:
ѧϰ!!
shian ÓÚ 2006-10-23 09:24:49·¢±í:
........²»´í,Ö§³ÖÒ»ÏÂ....