This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Control-M (^M) Characters in httpd-vhosts.conf
#7
RE: Control-M (^M) Characters in httpd-vhosts.conf
(07-09-2016, 12:35 AM)TGates Wrote: Again, I suggest you use notepad++ as I have been using this for years now (and it is maintained/updated regularly unlike notepad2) for your editing. Running dos2unix is more of a hack than a fix. You could try and make sure there are no empty spaces after each line added to your custom vhost entries to remove the ^M.

I have tried using notepad++ but this has still not fixed the issue. 

If I place a single line (by typing it in) <VirtualHost> with out pressing ENTER and saving it adds the line with no issues.

If I add (typing it) 

Code:
</VirtualHost>
<VirtualHost *:443>

I get the following in the httpd-vhosts.conf file

Code:
</VirtualHost>^M
<VirtualHost *:443>

So typing it is not working either. I am about to install Sentora on a fresh server to see what happens.
Reply
Thanks given by:


Messages In This Thread
RE: Control-M (^M) Characters in httpd-vhosts.conf - by mckinnon81 - 07-09-2016, 01:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
what files edit /etc/sentora/configs/apache/httpd-vhosts.conf mungujakisa 11 24 ,785 08-21-2018, 10:11 AM
Last Post: TGates
Important HTTPD not starting timce2000 4 10 ,133 03-17-2018, 06:43 AM
Last Post: TGates
httpd-vhosts.conf problem mohamadcom 5 10 ,952 02-03-2018, 08:40 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)