LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-16-2005, 10:20 AM   #1
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Rep: Reputation: 30
Weird Stuff on my Website


I run http://virtz.ath.cx on my windows apache webserver, and last night i decided to go back to linux since i missed it.
i stored my websites stuff in a pen drive, and then copied htdocs and replaced the old htdocs i had on linux with the ones from windows.
i tend to restart my xampp, and i did when i access it, its when the problem starts, on my htdocs the website preview is displayed perfect, but as soon as i try to open it with firefox, it shows a bunch of code with squares on it, if i tried it under netscape, only the source code shows.
i dont know why this has happened, but its hard to update everything, and im getting frustraded with this, if someone could help me telling me why, please id really appreciate
-Jerry V.
[ try visiting see if you get the same screen as i do ]
 
Old 09-16-2005, 03:09 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Viewing page source gives the same blocks everywhere.

Which language/font is it written in?
 
Old 09-17-2005, 03:01 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 48
Something that is quite interesting about this page is that when viewed with Firefox it shows the odd square character between each letter. I saved the page and then opened it with Konqueror and the source shows clearly. I then copied the whole page and pasted it into a text editor and there is a space between each letter. I quickly removed the spaces with find and replace. You would probably have to do some fine editing after this.
 
Old 09-17-2005, 05:20 PM   #4
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Original Poster
Rep: Reputation: 30
i did the same[find n replace], and its not the same, the first top part messes up, right now im running it on windows again, since it messed up on linux, its the first time this happens, it could probably be because for one of the menu items i put those odd characters for a sorority SOP so i had to put sygma omega pi, maybe if move that you think the code could work perfect?
 
Old 09-17-2005, 07:45 PM   #5
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Original Poster
Rep: Reputation: 30
and its written on a regular font and language, except for those characters for the whole Sygma Omega Pi
 
Old 09-17-2005, 09:47 PM   #6
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
There are two problems with the index page that I can see.

a) The file starts with hex ff fe before the opening html bracket (ÿþ if it displays correctly here) - these should not be present.
b) Starting at the opening html bracket, every second character is hex 00.

I'd guess this unwelcome modification happened on the way to or on the way from the pen drive... wrong mount options perhaps?

If this corruption follows the same pattern over all the files, you could clean them up easily with a sed script.

Edit: This corruption is only in some files. the_shit.jpg is OK, videos.html and random.html are also OK. index.html and /sop/sop_index.html have the corruption.

If you have a shell on the server, you can cd to your html directory and use the following to help identify affected files (NOTE: it will also catch binary files that may legitimately have this string in the first line so use results with caution):
grep -r -m 1 ÿþ ./

Last edited by Snowbat; 09-17-2005 at 10:41 PM.
 
Old 09-17-2005, 10:36 PM   #7
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
For best browser support of the Greek characters, use entity names:
http://www.htmlhelp.com/reference/ht...s/symbols.html
 
Old 09-18-2005, 12:01 PM   #8
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Original Poster
Rep: Reputation: 30
I Finally found out what it was, since i input those Sygma Omega Pi characters, since i was using stupid Visual Studio, it saved it under some different encoding called Unicode or so, some of my friends use firefox, and they couldnt go in it, so now i used entity names, and saved it on regular coding settings, and it seems to work for them now too, thanx alot for this guys, you all rock [ and so does linux ] now i can go back to linux and just modify it all
-Jerry *appreciate the help *
 
Old 12-01-2005, 10:32 AM   #9
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Original Poster
Rep: Reputation: 30
Can Someone Get me my ip address on virtz.ath.cx, i would really appreciate
 
Old 12-01-2005, 11:47 AM   #10
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 48
Are you asking what IP virtz.ath.cx is running on?

"ping virtz.ath.cx"
 
Old 07-28-2006, 11:14 AM   #11
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Original Poster
Rep: Reputation: 30
its always good to help the linux community
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Website look weird??? Burian General 11 02-22-2005 07:08 AM
mailq on exim - weird stuff tensigh Debian 2 04-10-2004 09:01 PM
Suse 9.0 + Kernel 2.6.1 = weird stuff king30 Linux - Software 18 02-21-2004 07:49 PM
more weird X stuff sockknitter Debian 1 12-20-2003 10:15 AM
Weird Stuff Bigun Linux - General 6 09-14-2002 01:18 AM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration