problems with .htaccess
Posted: 21. August 2007 00:13
Why htacces do not work? When I add htaccess file to directory I hav 500 internal server error!
My .htaccess:
this do not work, too:
And why when I using WAP (wml version) and I want signup in chat, I have error: empty nickname, empty password, but I entered password and nickname! I must turn register globals ON?[/code]
My .htaccess:
- Code: Select all
DirectoryIndexserv.php
Files "*.*">
Order allow,deny
allow from all
</Files>
<Files "*.inc">
Order allow,deny
Deny from all
</Files>
<Files "*.dat">
Order allow,deny
Deny from all
</Files>
DirectoryIndex index.php index.wml
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/java-archive .jar
AddType application/x-httpd-php .rss
AddType application/vnd.siemens-mp.theme .sdt
AddType application/vnd.siemens-mp.skin .scs
AddType application/vnd.siemens-mp.t9db .ldb
AddType application/vnd.symbian.install .sis
AddType application/vnd.symbian.install .app
AddType application/x-zip .zip
AddType audio/imelody .imy
AddType audio/midi .srt
AddType audio/midi .mid
AddType audio/mp3 .mp3
AddType audio/aac .aac
AddType image/bmp .bmx
AddType image/png .png
AddType audio/midi .col
AddType text/vnd.sun.j2me.app-descriptor .db
AddType audio/amr .amr
AddType video/3gpp .3gp
AddType video/3gpp .mp4
AddType video/mp4 .mpeg
AddType application/vnd.smaf .mmf
php_flag session.use_trans_sid Off
php_flag safe_mode_gid On
php_value default_mimetype none
this do not work, too:
- Code: Select all
DirecotyIndex serv.php
And why when I using WAP (wml version) and I want signup in chat, I have error: empty nickname, empty password, but I entered password and nickname! I must turn register globals ON?[/code]