1
I'vee得到了在/连接文件夹下面的htaccess文件,我需要这个整合到一个httpd.conf文件(已经有命令):集成的.htaccess到httpd.conf中
/连接/的.htaccess
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteBase /connect
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
的httpd.conf
...
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/alter
ServerName www.mysite.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule^http%1://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
...
....
我不知道我怎么能适应到上述下面?
thankts ........ – siliconpi 2011-04-13 08:16:43