httpd.conf'ta şunları yaptım.

<Directory />
    Options FollowSymLinks
    *AllowOverride All*
</Directory>

    <Directory /home/*/public_html>
        AllowOverride FileInfo AuthConfig Limit *Indexes All*
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
        <Limit GET POST OPTIONS PROPFIND>
            Order allow,deny
            Allow from all
       </Limit>
       <LimitExcept GET POST OPTIONS PROPFIND>
            Order deny,allow
            Deny from all
       </LimitExcept>
    </Directory>

Ama yine de olmadı.

21 Nisan 2009 Salı 22:52 tarihinde Baris CUHADAR <[email protected]> yazdı:

> Sunucu ayar dosyasında AllowOverride none parametresini all yaparsanız
> sorununuz çözülür.
>
> On Tue, 2009-04-21 at 20:57 +0300, Aykut Sunguroğlu wrote:
> > Herkese merhaba,
> > Pardus'ta Apache için mod_rewrite sorunum var. Apache, mod_php vs.
> > paketleri normal yoldan kurdum.
> > http://www.ozgurlukicin.com/forum/yazilim-gelistirme/1899/?page=1
> > adresindeki önerileri yaptım. Buna benzer önerileri araştırıp yaptım.
> > Ama hala url rewriting yapamıyorum.
> > /home/kullanici/public_html klasöründe çalışıyorum.
> > phpinfo() ile baktığımda mod_rewrite görünüyor.
> > Sorun ne olabilir?
> >
> > Dosyalarım da şunlar:
> >
> > index.php
> > <?php
> > include 'ana.php';
> > $sayfa=$_GET["sayfa"];
> > if (!$sayfa){
> >     return yazi();
> > }
> > else{
> >     $sayfa();
> > }
> > ?>
> > ------------------------
> > ana.php
> > <?php
> > function yazi(){
> >   ?>
> >   <h1>yazi</h1>
> >   <a href="s-yazi.html">yazi</a>
> >   <br>
> >   <a href="s-haber.html">haber</a>
> >   <br>
> >   <a href="s-urun.html">urun</a>
> >   <?php
> > }
> > function haber(){
> >   ?>
> >   <h1>haber</h1>
> >   <a href="s-yazi.html">yazi</a>
> >   <br>
> >   <a href="s-haber.html">haber</a>
> >   <br>
> >   <a href="s-urun.html">urun</a>
> >   <?php
> > }
> > function urun(){
> >   ?>
> >   <h1>urun</h1>
> >   <a href="s-yazi.html">yazi</a>
> >   <br>
> >   <a href="s-haber.html">haber</a>
> >   <br>
> >   <a href="s-urun.html">urun</a>
> >   <?php
> > }
> > ?>
> > --------------------------
> > .htaccess
> > Options +FollowSymLinks
> > RewriteEngine On
> > RewriteRule ^s-([A-Za-z0-9]+)\.html$ index.php?sayfa=$1
> > --------------------------
> >
> > Teşekkürler...
> >
> >
> > _______________________________________________
> > Linux-programlama mailing list
> > [email protected]
> > http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
> _______________________________________________
> Linux-programlama mailing list
> [email protected]
> http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
_______________________________________________
Linux-programlama mailing list
[email protected]
http://liste.linux.org.tr/mailman/listinfo/linux-programlama

Cevap