FelixSunYX
FelixSunYX

Reputation: 7

.htaccess seems doesn't work

What I was trying to do is making a customised page for 404 page. But seems does not work. This is the code of .htaccess file.

ErrorDocument 404 404notfound.php

The 404notfound.php is my customised page. I'm using Microsoft Azure for web server. I'm wondering why it does't work. Thanks in advance.

Upvotes: 0

Views: 63

Answers (1)

Quentin
Quentin

Reputation: 943100

I'm using Microsoft Azure for web server.

That is why it doesn't work. .htaccess files are an Apache HTTPD feature.

Microsoft Azure runs on Microsoft IIS which you configure with system.web files.

Upvotes: 1

Related Questions