Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Httpd.conf
guilp
post Oct 4 2004, 12:06 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 4-October 04
Member No.: 3,891



I modified my httpd.conf file and now my domains aren't showing up. I have reset things to their original state, but still no luck. I am afraid I possibly created problem because I assumed WINscp would transfer conf file in ascii but it used binary. Can anyone give me suggestions?

Thank you.
Go to the top of the page
 
+Quote Post
guilp
post Oct 4 2004, 01:04 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 4-October 04
Member No.: 3,891



Looks like my Apache won't restart. I'm a dummy.
Go to the top of the page
 
+Quote Post
michaelk
post Oct 4 2004, 03:27 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



A binary transfer of an ASCII file is ok. I will make an assumption that you edited the config file via windows. If so, you created a problem but it isn't due to winscp. A DOS ascii text file uses a different end of line character then a linux i.e. CRLF or in hex 0x0D 0x0A vs linux which only uses a 0x0A character. To convert a DOS to Unix file you can use the following command.

sed -e s/'r'// yourDosFile > newFile
Go to the top of the page
 
+Quote Post
chrisw
post Oct 4 2004, 04:25 PM
Post #4


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



you can also use the dos2unix command:

dos2unix <filename>

of course if you want to convert a unix file to a dos file format you use the following:

unix2dos <filename>

these 2 commands are usually installed during a linux installation.


--------------------

Chris W.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 03:18 AM