A
A
alxdrlitreev2014-02-19 10:33:19
Apache HTTP Server
alxdrlitreev, 2014-02-19 10:33:19

How to set up the CNC?

There is an address helloworld.ru
In the root folder of the site there are files about.html, contact.html
It is necessary to make sure that when accessing the address helloworld.ru/about, the file about.html is loaded.
In addition to these files, there are a lot of other files on the server, and this is the rule should be done ONLY for these 2 files.
Apache server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Appp Zooo, 2014-02-19
@ikeagold

RewriteEngine On
RewriteRule ^about$ /about.html [L]
RewriteRule ^contact$ /contact.html [L]

something like that, I'm not sure if it's right)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question