On Wednesday 22 April 2009 08:55:03 Aykut Sunguroğlu wrote:
> Onu da yaptım. Ama sorun devam ediyor.
>
> 21 Nisan 2009 Salı 23:11 tarihinde Baris CUHADAR <[email protected]> yazdı:
> > Şu anda tam olarak hatırlayamamakla beraber, çünkü pardusu test edeli
> > 2-3 ay oldu, sanırım ayar
> > dosyası /etc/apache2/vhosts.d/00_default_vhost.conf da AllowOverride
> > None kısmını,AllowOverride All  yaparsanız sorununuz çözülecektir.
> >
> > On Tue, 2009-04-21 at 22:58 +0300, Aykut Sunguroğlu wrote:
> > > httpd.conf dosyasında aşağıdaki değişikliği yaptım.
> > > <Directory />
> > >     Options FollowSymLinks
> > >     AllowOverride All
> > > </Directory>
> > >
> > > Ama sorun devam ediyor. Başka? :)
> > >
> > > 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
> >
> > _______________________________________________
> > Linux-programlama mailing list
> > [email protected]
> > http://liste.linux.org.tr/mailman/listinfo/linux-programlama

Aldığınız hatayı tam olarak yazabilir misiniz.

_______________________________________________
Linux-programlama mailing list
[email protected]
http://liste.linux.org.tr/mailman/listinfo/linux-programlama

Cevap