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
#2
RE: Control-M (^M) Characters in httpd-vhosts.conf
That's interesting as both tutorials are very similar and you are the first to report this.

I remember seeing this way back in ZPanel but since that site/forum is gone, I can't check there Blush 

If you edited any files using a Windows editor (wordpad, notepad, etc.), then uploaded them to your Ubuntu server this can happen.

I suggest using notepad++ as your default editor in Windows.

Quoted from: http://stackoverflow.com/questions/15020...-each-line
Quote:Did you create this file on Windows machine and then transferred it on unix/linux machine? End of line is interpreted differently in MS-DOS and Linux/Unix environments. On MS-DOS, end of line is indicated by new line character and carriage return, whereas on Unix, new line feed indicates end of line. This causes ^M characters, if you're not careful about the transfer mode between MS-DOS and Unix/Linux


Although, this doesn't explain why one works and not the other... Sad
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
RE: Control-M (^M) Characters in httpd-vhosts.conf - by TGates - 07-07-2016, 03:45 AM

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

Forum Jump:


Users browsing this thread: 4 Guest(s)