ColdDoT
28th March 2006, 21:08
hello
first of all i'm running debian sarge. when is save a file from windows trough ftp on my linux box (or i just use vi with ssh)
my files look all like
#!/usr/bin/perl^M
^M
^M
%COLOR = (^M
'n_1' => "<FONT COLOR=\"#FF0000\">", ## kleur-code nr.1 voor namen en teksten^M
'n_2' => "<FONT COLOR=\"yellow\">", ## kleur-code nr.2 voor namen en teksten^M
'<>' => "<FONT COLOR=\"#00FFFF\">",^M
'-' => "<FONT COLOR=\"#FFFFFF\">",^M
);^M
^M
(small pice of a pl program)
what are that ^M. because that my perl and cgi programms give a server error when i leav that in the line #!/usr/bin/perl^M. and is there a way to solve it.
second i've running a pure-ftpd server and when i go to my server ftp.colddot.nl i get a welcom screen but i don't wanna have that i wanna have a direct inlog screen(this i have don trough internet explore)
greets colddot
ss
i get this
http://www.colddot.nl/1.jpg
and i want this pleaz
http://www.colddot.nl/2.jpg
first of all i'm running debian sarge. when is save a file from windows trough ftp on my linux box (or i just use vi with ssh)
my files look all like
#!/usr/bin/perl^M
^M
^M
%COLOR = (^M
'n_1' => "<FONT COLOR=\"#FF0000\">", ## kleur-code nr.1 voor namen en teksten^M
'n_2' => "<FONT COLOR=\"yellow\">", ## kleur-code nr.2 voor namen en teksten^M
'<>' => "<FONT COLOR=\"#00FFFF\">",^M
'-' => "<FONT COLOR=\"#FFFFFF\">",^M
);^M
^M
(small pice of a pl program)
what are that ^M. because that my perl and cgi programms give a server error when i leav that in the line #!/usr/bin/perl^M. and is there a way to solve it.
second i've running a pure-ftpd server and when i go to my server ftp.colddot.nl i get a welcom screen but i don't wanna have that i wanna have a direct inlog screen(this i have don trough internet explore)
greets colddot
ss
i get this
http://www.colddot.nl/1.jpg
and i want this pleaz
http://www.colddot.nl/2.jpg