I
I
Ivan Ivanov2019-06-29 18:22:40
Apache HTTP Server
Ivan Ivanov, 2019-06-29 18:22:40

What should be the case of writing virtual hosts?

Hello!

<VirtualHost *:80>
    ServerName  framework.loc
    ServerAlias www.framework.loc
    DocumentRoot    /var/www/framework.loc
</VirtualHost>
<VirtualHost *:443>
    ServerName  framework.loc
    ServerAlias www.framework.loc
    DocumentRoot    /var/www/framework.loc
    SSLEngine   On
    SSLCertificateFile  /var/www/ssl/framework.ssl/server.crt
    SSLCertificateKeyFile  /var/www/ssl/framework.ssl/server.key
</VirtualHost>

Can this be written in lower case?
Thank you.
:)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-07-25
@tomclancys

It is accepted to write as in your example. If the parameter contains two words, then each with a capital letter.
Well, the paths themselves and the domain name are written in lower case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question