블로그경로가 /blog/user_id로 않됩니다.
/blog/user_id로 되어야 하는데, blog/?mb_id=user_id로만 접속됩니다.
설치는
http://myserver.com/blog 에 했습니다.
httpd.conf는
UseCanonicalName On
ServerTokens Prod[uctOnly]
ServerSignature On
LoadModule rewrite_module modules/mod_rewrite.so
<Directory />
Options FollowSymLinks
Options +Includes
AllowOverride All
#Order deny,allow
#Deny from all
</Directory>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
<Directory "/_web">
Options Indexes FollowSymLinks Includes ExecCGI
# Options FileInfo AuthConfig Limit
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
#AllowOverride AuthConfig
</Directory>
<VirtualHost *:80>
ServerAdmin webmaster@testers.org
DocumentRoot /var/www/html/test
ServerName testers.org
ServerAlias www.testers.org
php_admin_flag allow_url_fopen On
CustomLog "|//bin/rotatelogs /opt/lampp/logs/testers.org_access_log
ErrorLog "|//bin/rotatelogs /opt/lampp/logs/testers.org_error_log
</VirtualHost>
ServerTokens Prod[uctOnly]
ServerSignature On
LoadModule rewrite_module modules/mod_rewrite.so
<Directory />
Options FollowSymLinks
Options +Includes
AllowOverride All
#Order deny,allow
#Deny from all
</Directory>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
<Directory "/_web">
Options Indexes FollowSymLinks Includes ExecCGI
# Options FileInfo AuthConfig Limit
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
#AllowOverride AuthConfig
</Directory>
<VirtualHost *:80>
ServerAdmin webmaster@testers.org
DocumentRoot /var/www/html/test
ServerName testers.org
ServerAlias www.testers.org
php_admin_flag allow_url_fopen On
CustomLog "|//bin/rotatelogs /opt/lampp/logs/testers.org_access_log
ErrorLog "|//bin/rotatelogs /opt/lampp/logs/testers.org_error_log
</VirtualHost>
다른 분들은 잘 되는 거 같은데 머가 문제인가요?
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 3개
됩니다.
지앤미님 감사합니다 ㅎ