[users@httpd] not able to do url rewriting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi

i use suse linux 10.1 64 bits (AMD)

i copied my web site in local to convert it to php5

mysql apache work

the problem i got in local is the url rewriting don't work

my i modified in the httpd.conf
<Directory />
    Options None
    AllowOverride All
    Order deny,allow
    Deny from all
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
#<Files .htaccess>
    Order allow,deny
    Deny from all
</Files>


in the /etc/sysconfig/apache2 i add
rewrite



my .htaccess

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^news([0-9]+)$ newssection.php?sec_nosection=$1 [L]



in the apache error_log i get:
[Mon Jun 26 13:05:09 2006] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
[Mon Jun 26 13:05:09 2006] [notice] suEXEC mechanism enabled 
(wrapper: /usr/sbin/suexec2)
[Mon Jun 26 13:05:09 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- 
resuming normal operations
[Mon Jun 26 13:05:46 2006] [error] [client ::1] File does not 
exist: /srv/www/htdocs/laboiteaprog/news1, referer: http://locg/



my web site in local is located in: /srv/www/htdocs/laboiteaprog

why url rewriting don't work?

thanks

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux