红联Linux门户
Linux帮助

linux测试目录的设立

发布时间:2008-04-17 16:48:47来源:红联作者:Lynghu
#cd
#chmod 755 .
#mkdir public_html
#chcon -R -t httpd_sys_content_t public_html

大家执行这几个命令,就可以通过apache访问自己的目录了

[.htaccess]配置文件

SetEnv DB_adminweb PDO_MYSQL/192.168.0.254/3306/adminweb/adminweb/123456/GBK
RewriteEngine on
RewriteBase /~wubingjie/www1.boss.***.com/html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php
文章评论

共有 1 条评论

  1. pyp2oo8 于 2008-04-17 20:33:27发表:

    怎么个意思 啊‘