View Full Version : Vhost directive not work!
adrenalinic
31st May 2007, 19:59
hello.
i am try to set new vhost directive for my web site.
this directive is for short url on browser of users of my web site...
but not works.
this is the code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([a-z0-9]+)$ http://%{http_host}/?L=users.profile&id=$1 [r=301,nc]
I use php4-cgi under suPHP
thanks for support.
falko
1st June 2007, 19:44
Do you get any error messages? Any errors in Apache's access log?
adrenalinic
2nd June 2007, 01:16
hello.
this is my error apache log
but I mean that error is from suPHP conf.
all apache conf works ok
but my cust VHOST do not apply the RewrteRule Expression
Thank for support.
[Sat Jun 02 00:04:33 2007] [warn] long lost child came home! (pid 13545)
[Sat Jun 02 00:05:11 2007] [notice] Graceful restart requested, doing restart
PHP Warning: Module 'curl' already loaded in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'imap' already loaded in Unknown on line 0
PHP Warning: Module 'ldap' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mhash' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'pspell' already loaded in Unknown on line 0
PHP Warning: Module 'snmp' already loaded in Unknown on line 0
[Sat Jun 02 00:05:12 2007] [notice] Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.1 PHP/5.2.2-0.dotdeb.0 with Suhosin-Patch mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Sat Jun 02 00:05:12 2007] [warn] long lost child came home! (pid 18386)
falko
3rd June 2007, 18:19
There are no mod_rewrite related errors in the log, so mod_rewrite seems to be working, but I guess your rewrite rule is wrong/doning something different than you expect.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.