Hello everyone, I tried to use apache code inside my article in this way:
[cc lang="apache"]
<VirtualHost :80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "F:/xampp/htdocs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
[/cc]
< and > signs converted to html entities inside code box, so the result is:
<VirtualHost :80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "F:/xampp/htdocs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
Hello everyone, I tried to use apache code inside my article in this way: [cc lang="apache"] <VirtualHost :80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "F:/xampp/htdocs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog "logs/dummy-host.example.com-error.log" CustomLog "logs/dummy-host.example.com-access.log" common [/cc] < and > signs converted to html entities inside code box, so the result is: <VirtualHost :80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "F:/xampp/htdocs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog "logs/dummy-host.example.com-error.log" CustomLog "logs/dummy-host.example.com-access.log" common </VirtualHost>