Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
dimitrov0720 каза:Зависи от програмният език, който вкарваш, то файла ще е с различно разширение. Ако пишеш на php трудно, файла може да стане xhtml. Всъщност лесно става. Отваряш с някой текстов редактор Notepad например, даваш Save as.../Запамети като... и накрая пишеш .xhtml примерно. Но така няма да ти чете php кода.
AddType application/x-httpd-php .htm .html
пробвай нещо такова :idea:RewriteEngine on
RewriteBase /
RewriteRule ^(.*)\.html$ $1.php [L]
Replace каза:пробвай нещо такова :idea:RewriteEngine on
RewriteBase /
RewriteRule ^(.*)\.html$ $1.php [L]
RewriteCond %(THE_REQUEST} \.php /quote] :idea:
Replace каза:Сложи над този ред и товаRewriteCond %(THE_REQUEST} \.php /quote] :idea:
Не става.Сложих го по тоя начин :
Код:RewriteEngine on RewriteBase / RewriteCond %(THE_REQUEST} \.php RewriteRule ^(.*)\.xhtml$ $1.php [L]
Други идеи ?
gLaVoReZa каза:Ама то не съществуват файлове с разширение xhtml. Ако ги направиш така, някои браузъри, като Internet Explorer 6 например няма да отварят страницата, ами вместо това ще излиза промпт за сваляне на xhtml файла.
XHTML страниците трябва да са във файл с разширение html.
proba каза:Той ти каза че .xhtml файлове няма.
<IfModule dir_module>
DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml index.etl
</IfModule>
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, viksasoft@xvirusx.co.cc and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache (linux) PHP/5.2.6 Server at localhost Port 8080