C
Crysuder
Symlink ile çektiğimiz configlerin çoğu Forbidden hatası veriyor?
1 – Bununla ilgili yapacaklarımız, # mkdir Hector # # cd Hector # olarak geçelim dizine
touch .htaccess diye dosya oluşturalım.
Options +FollowSymLinks
DirectoryIndex Sux.html
Options +Indexes
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
ln -s dizin/dosya Hector olarak symlink çekin
Hector dizinine web browserde geçtiğinizde boşsa veya forbidden hatası veriyorsa, ne yapacağız?
.htaccessi şu şekilde editliyoruz :
Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
1 – Bununla ilgili yapacaklarımız, # mkdir Hector # # cd Hector # olarak geçelim dizine
touch .htaccess diye dosya oluşturalım.
Options +FollowSymLinks
DirectoryIndex Sux.html
Options +Indexes
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
ln -s dizin/dosya Hector olarak symlink çekin
Hector dizinine web browserde geçtiğinizde boşsa veya forbidden hatası veriyorsa, ne yapacağız?
.htaccessi şu şekilde editliyoruz :
Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html