URL在localhost中不起作用 - 404错误

时间:2017-12-02 20:32:31

标签: php .htaccess error-handling

我的网站适用于server。 但是当我在localhost上安装代码时,当我尝试浏览它时会出现404错误。

这是我的#Header unset ETag #FileETag None <FilesMatch ".(js|css|html|htm|php|xml|font|woff)$"> SetOutputFilter DEFLATE </FilesMatch> <FilesMatch ".(gif|jpg|jpeg|png|ico|swf|js|css|pdf|font|woff)$"> Header set Cache-Control "max-age=172800, public, must-revalidate" </FilesMatch> Options +FollowSymLinks -MultiViews RewriteEngine On RewriteRule ^(tr|en)/sitemap.xml(.*)$ _assets/sitemaps/sitemap-$1.xml$2 [NC,L] Redirect /yurtdisi-lise-egitimi /tr RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . index.php [L] 代码

def ng():
    global fn #the font
    global b #Bold variable

    b=not b
    if b==True:
        fn.configure(weight="bold")
    if b==False:
        fn.configure(weight="normal")

    scroll.config(font=fn)

有什么问题?

0 个答案:

没有答案