![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 945 Pomógł: 7 Dołączył: 15.03.2005 Skąd: katowice Ostrzeżenie: (0%) ![]() ![]() |
jak zrobić coś takiego ze wszystkie pliki bez rozszerzenia będa traktowanie tak jak by mialy końcóke php i były uruchumione..
chce ukryc rozszerzenie plikow na stronie www ... w ustawieniach serwera httpd bylo by DefaultType application/x-httpd-php a w htaccess (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ? strone mam w katalogu np page <Files page> ForceType application/x-httpd-php </Files> |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 691 Pomógł: 0 Dołączył: 19.01.2005 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
Cytat("Dokumentacja Apache") DefaultType directive Syntax: DefaultType MIME-type Default: DefaultType text/plain Context: server config, virtual host, directory, .htaccess (! - dop. Fipaj ;]) Override: FileInfo Status: core There will be times when the server is asked to provide a document whose type cannot be determined by its MIME types mappings. The server must inform the client of the content-type of the document, so in the event of an unknown type it uses the DefaultType. For example: DefaultType image/gif would be appropriate for a directory which contained many gif images with filenames missing the .gif extension. See also: AddType and TypesConfig. Można tak samo w .htacces. Ten post edytował Fipaj 9.04.2006, 18:32:08 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 05:18 |