server question

This is a discussion on server question within the Tech Board forums, part of the Community Boards category; The apache server is online. FU Question(1) I'm having problems with the internal hyperlinks. If I'm referencing another page on ...

  1. #16
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    The apache server is online.

    FU Question(1)
    I'm having problems with the internal hyperlinks.
    If I'm referencing another page on the server, how would the path look?
    I was expecting it to be something like.
    Is this not correct?

    FU Question(2)
    Do servers have security (e.g. firewalls) or does software like that prevent the sharing of the server with the internet?
    Can I have my Norton Internet Security scan for auto block on all ports but 80, then allow access to the server on that port with out allowing unwanted hacks?
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  2. #17
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    don't use a software firewall, get a real router (cheap, you can get one for under 40 bucks i think)

    You can use norton, but like i said, software isn't reliable.

    internal links would work that way, or you can use whatever you picked as your host name, or the ip, or if it's in the same folder just do "file.html" or file://c:\whatever\file.html

    watch out though, c:\ may have to be c:\\...just try it out.
    PHP and XML
    Let's talk about SAX

  3. #18
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    I left every page in the htdocs folder created by the apache system. I tried to use "file.html", but it didn't work.

    Will this path link for internet, intranet, or both?
    I'm no where near the server to test.

    To test the accessability of the data on the apache server from a remote location over the internet, would you link using the following format?
    Last edited by xviddivxoggmp3; 01-19-2004 at 09:56 PM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  4. #19
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    xviddivxoggmp3, you should really look more closely as to how the internet, ports, URL's, HTTP, and web servers work, long before you go setting up a server.

    I strongly suggest you set up the SWEBS Web Server. Although unfinished, it was designed to be an easy to use server, and to seperate users from configuration text files. Everything is handled by a GUI.

    You can't use C# or any of that other nonsense with it yet, but play with it, learn how servers work, then go back to apache or IIS and do some real work. Your jumping in at the deep end, and you look to be drowning pretty badly.

  5. #20
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    well he does already have apache set up, so, go to and read the tutorials on apache...that should cover your questions.
    PHP and XML
    Let's talk about SAX

  6. #21
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    I'm just starting the post in regards to the issue so check back.

    Sorry bud, I've started and now I'm not going to stop.
    If you have a book you suggest or any tutorials, I would very much apreciate

    i fixed the hyperlinks.
    it took using c://whatever\file.html
    i forgot i was accessing details on the harddrive.
    I thought it would auto detec files in the same folder.
    using "file.html" is not valid for some reason.

    I'm using a javascript dynamic link menu and the server makes the menu crash after being used once.
    This will be a fun one. If any one wants to try and assit me.

    	var NoOffFirstLineMenus=9;			// Number of first level items
    	var LowBgColor='black';			// Background color when mouse is not over
    	var LowSubBgColor='black';			// Background color when mouse is not over on 
    	var HighBgColor='black';			// Background color when mouse is over
    	var HighSubBgColor='black';			// Background color when mouse is over on subs
    	var FontLowColor='red';			// Font color when mouse is not over
    	var FontSubLowColor='red';			// Font color subs when mouse is not over
    	var FontHighColor='blue';			// Font color when mouse is over
    	var FontSubHighColor='blue';			// Font color subs when mouse is over
    	var BorderColor='black';			// Border color
    	var BorderSubColor='black';			// Border color for subs
    	var BorderWidth=0;				// Border width
    	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
    	var FontFamily="arial,comic sans ms,technical"	// Font family menu items
    	var FontSize=12;				// Font size menu items
    	var FontBold=1;				// Bold menu items 1 or 0
    	var FontItalic=0;				// Italic menu items 1 or 0
    	var MenuTextCentered='left';			// Item text position 'left', 'center' or 
    	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 
    	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or 
    	var ChildOverlap=.2;				// horizontal overlap child/ parent
    	var ChildVerticalOverlap=.75;			// vertical overlap child/ parent
    	var StartTop=100;				// Menu offset x coordinate
    	var StartLeft=1;				// Menu offset y coordinate
    	var VerCorrect=-125;				// Multiple frames y correction
    	var HorCorrect=0;				// Multiple frames x correction
    	var LeftPaddng=3;				// Left padding
    	var TopPaddng=2;				// Top padding
    	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
    	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
    	var DissapearDelay=2000;			// delay before menu folds in
    	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
    	var FirstLineFrame='left';			// Frame where first level appears
    	var SecLineFrame='rbottom';			// Frame where sub levels appear
    	var DocTargetFrame='rbottom';			// Frame where target documents appear
    	var TargetLoc='';				// span id for relative positioning
    	var HideTop=0;				// Hide first level when loading new document 1 or 0
    	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
    	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
    	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
    	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
    	var ShowArrow=1;				// Uses arrow gifs when 1
    	var KeepHilite=1;				// Keep selected path highligthed
    	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width 
    and height
    function BeforeStart(){return}
    function AfterBuild(){return}
    function BeforeFirstOpen(){return}
    function AfterCloseAll(){return}
    // Menu tree
    //	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, 
    //	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"
    Menu1=new Array("Disclaimer","c:\\Program Files/Apache Group/Apache/htdocs/disclaimer.htm","",0,20,138);
    Menu2=new Array("Home","c:\\Program Files/Apache Group/Apache/htdocs/archive.htm","",0,20,138);
    Menu3=new Array("Updates","c:\\Program Files/Apache Group/Apache/htdocs/updates.htm","",0,20,138);
    Menu4=new Array("Musicians","","",8,20,138);
       Menu4_1=new Array("Keller Williams","c:\\Program Files/Apache 
       Menu4_2=new Array("Dave Matthews","c:\\Program Files/Apache 
       Menu4_3=new Array("Rat Dog","c:\\Program Files/Apache Group/Apache/htdocs/rat_dog.htm","",0,20,150);
       Menu4_4=new Array("Bella Fleck","c:\\Program Files/Apache 
       Menu4_5=new Array("Rusted Root","c:\\Program Files/Apache 
       Menu4_6=new Array("Left Over Salmon","c:\\Program Files/Apache 
       Menu4_7=new Array("Grateful Dead","","",4,20,150);
          Menu4_7_1=new Array("Bob Weir","","",0,20,150);
          Menu4_7_2=new Array("Jerry Garcia","","",0,20,150);
          Menu4_7_3=new Array("Phil Lesh","","",0,20,150);
          Menu4_7_4=new Array("Mickey Hart","","",0,20,150);
       Menu4_8=new Array("The Doors","","",4,20,150);  
          Menu4_8_1=new Array("Jim Morrison","c:\\Program Files/Apache 
          Menu4_8_2=new Array("John Densmore","","",0,20,150);
          Menu4_8_3=new Array("Ray Manzarek","","",0,20,150);
          Menu4_8_4=new Array("Robby Krieger","","",0,20,150);
    Menu5=new Array("Technical","","",12);
       Menu5_1=new Array("Internet","","",4,20,150);
          Menu5_1_1=new Array("Definitions","","",4,20,150);
             Menu5_1_1_1=new Array("HTML Definition","c:\\Program Files/Apache 
             Menu5_1_1_2=new Array("XHTML Definition","c:\\Program Files/Apache 
    	 Menu5_1_1_3=new Array("DHTML Definition","","",0);
             Menu5_1_1_4=new Array("XML Definition","","",0);
          Menu5_1_2=new Array("Beginner","","",9,20,150);
    	 Menu5_1_2_1=new Array("Comments","c:\\Program Files/Apache 
    	 Menu5_1_2_2=new Array("Tags","c:\\Program Files/Apache 
    	 Menu5_1_2_3=new Array("HTML Element","c:\\Program Files/Apache 
    	 Menu5_1_2_4=new Array("Header","c:\\Program Files/Apache 
    	 Menu5_1_2_5=new Array("Title","c:\\Program Files/Apache 
    	 Menu5_1_2_6=new Array("Body","c:\\Program Files/Apache 
    	 Menu5_1_2_7=new Array("Paragraph","c:\\Program Files/Apache 
    	 Menu5_1_2_8=new Array("Line Break","c:\\Program Files/Apache 
    	 Menu5_1_2_9=new Array("Font Size","c:\\Program Files/Apache 
          Menu5_1_3=new Array("Advanced","","",7,20,150);
    	 Menu5_1_3_1=new Array("Images","c:\\Program Files/Apache 
    	 Menu5_1_3_2=new Array("Hyperlinks","c:\\Program Files/Apache 
    	 Menu5_1_3_3=new Array("Lists","c:\\Program Files/Apache 
    	 Menu5_1_3_4=new Array("Tables","c:\\Program Files/Apache 
    	 Menu5_1_3_5=new Array("Image Maps","c:\\Program Files/Apache 
    	 Menu5_1_3_6=new Array("Cascading Sheets","c:\\Program Files/Apache 
    	 Menu5_1_3_7=new Array("Frames","c:\\Program Files/Apache 
          Menu5_1_4=new Array("Appendix","","",3,20,150);
    	 Menu5_1_4_1=new Array("W3C Test","c:\\Program Files/Apache 
    	 Menu5_1_4_2=new Array("Index of Code","c:\\Program Files/Apache 
    	 Menu5_1_4_3=new Array("ASCII Chart","c:\\Program Files/Apache 
       Menu5_2=new Array("C/C++/C#","","",7);
       	Menu5_2_1=new Array("History","","",3,20,150);
    	   Menu5_2_1_1=new Array("C","c:\\Program Files/Apache Group/Apache/htdocs/C0.htm","",0,20,150);
    	   Menu5_2_1_2=new Array("C++","c:\\Program Files/Apache 
    	   Menu5_2_1_3=new Array("C#","c:\\Program Files/Apache 
      	Menu5_2_2=new Array("C Syntax","","",0,20,150);
        Menu5_2_3=new Array("C++ Syntax","","",2,20,150);
    	   Menu5_2_3_1=new Array("Basic","","",10,20,150);
    	   	  Menu5_2_3_1_1=new Array("#include","c:\\Program Files/Apache 
    		  Menu5_2_3_1_2=new Array("main()","c:\\Program Files/Apache 
    	   	  Menu5_2_3_1_3=new Array("cin","c:\\Program Files/Apache 
    		  Menu5_2_3_1_4=new Array("cout","c:\\Program Files/Apache 
    		  Menu5_2_3_1_5=new Array(">>","c:\\Program Files/Apache 
    		  Menu5_2_3_1_6=new Array("<<<","c:\\Program Files/Apache 
    		  Menu5_2_3_1_7=new Array(";","c:\\Program Files/Apache 
    	   	  Menu5_2_3_1_8=new Array("&&","c:\\Program Files/Apache 
    		  Menu5_2_3_1_9=new Array("=","c:\\Program Files/Apache 
    		  Menu5_2_3_1_10=new Array("!","c:\\Program Files/Apache 
    	   Menu5_2_3_2=new Array("Advanced","","",7,20,150);
    	      Menu5_2_3_2_1=new Array("Huge Integer","c:\\Program Files/Apache 
    	      Menu5_2_3_2_2=new Array("Single linked List","c:\\Program Files/Apache 
    	      Menu5_2_3_2_3=new Array("Double linked List","c:\\Program Files/Apache 
         	      Menu5_2_3_2_4=new Array("Overloading","c:\\Program Files/Apache 
         	      Menu5_2_3_2_5=new Array("Queue","c:\\Program Files/Apache 
         	      Menu5_2_3_2_6=new Array("Stack","c:\\Program Files/Apache 
         	      Menu5_2_3_2_7=new Array("Binary Tree","c:\\Program Files/Apache 
            Menu5_2_4=new Array("C# Syntax","","",0,20,150);
            Menu5_2_5=new Array("C/C++/C# Help","c:\\Program Files/Apache 
            Menu5_2_6=new Array("C/C++/C# Links","c:\\Program Files/Apache 
       	Menu5_2_7=new Array("Source Code","","",4,20,150);
    	   Menu5_2_7_1=new Array("Huge Integer","","",0,20,150);
    	   Menu5_2_7_2=new Array("Linked List","","",0,20,150);
           Menu5_2_7_3=new Array("Double Linked","","",0,20,150);
    	   Menu5_2_7_4=new Array("Queue","","",2,20,150);
    	      Menu5_2_7_4_1=new Array("Core Program","","",3,20,150);
    		      Menu5_2_7_4_1_1=new Array("queuedrv.cpp","","",0,20,150);
    			  Menu5_2_7_4_1_2=new Array("queue.cpp","","",0,20,150);
    			  Menu5_2_7_4_1_3=new Array("queue.h","","",0,20,150);
    	      Menu5_2_7_4_2=new Array("With Overflow","","",0,20,150);
       Menu5_3=new Array("Java","c:\\Program Files/Apache Group/Apache/htdocs/java.htm","",0);
       Menu5_4=new Array("JavaScript","","",5);
          Menu5_4_1=new Array("Definition","c:\\Program Files/Apache 
          Menu5_4_2=new Array("Functions","","",4,20,150);
             Menu5_4_2_1=new Array("Function Definition","c:\\Program Files/Apache 
             Menu5_4_2_2=new Array("Simple Function","c:\\Program Files/Apache 
             Menu5_4_2_3=new Array("Passing function","c:\\Program Files/Apache 
             Menu5_4_2_4=new Array("Returning function","c:\\Program Files/Apache 
          Menu5_4_3=new Array("Array","","",4,20,150);
             Menu5_4_3_1=new Array("Definition","c:\\Program Files/Apache 
             Menu5_4_3_2=new Array("Declare/Allocate","c:\\Program Files/Apache 
             Menu5_4_3_3=new Array("Initialize","c:\\Program Files/Apache 
          	 Menu5_4_3_4=new Array("Accessing","c:\\Program Files/Apache 
          Menu5_4_4=new Array("Source Code","c:\\Program Files/Apache 
          Menu5_4_5=new Array("Cancel Breakdown","c:\\Program Files/Apache 
       Menu5_5=new Array("Visual Basic","c:\\Program Files/Apache 
       Menu5_6=new Array("VBScript","c:\\Program Files/Apache Group/Apache/htdocs/vbscript.htm","",0);
       Menu5_7=new Array("GPL License","c:\\Program Files/Apache 
       Menu5_8=new Array("OpenGL","c:\\Program Files/Apache Group/Apache/htdocs/openGL.htm","",0);
       Menu5_9=new Array("DirectX8","c:\\Program Files/Apache Group/Apache/htdocs/DirectX.htm","",0);
       Menu5_10=new Array("ColdFusion5","c:\\Program Files/Apache 
       Menu5_11=new Array("Apache","c:\\Program Files/Apache Group/Apache/htdocs/apache.htm","",0);
    Menu6=new Array("Audio","","",8);
       Menu6_1=new Array("Bootlegs","c:\\Program Files/Apache 
       Menu6_2=new Array("Recording","c:\\Program Files/Apache 
       Menu6_3=new Array("Guides","c:\\Program Files/Apache Group/Apache/htdocs/guides.htm","",0);
       Menu6_4=new Array("Furthurnet","c:\\Program Files/Apache Group/Apache/htdocs/furthurnet.htm","",0);
       Menu6_5=new Array("CDR/W","c:\\Program Files/Apache Group/Apache/htdocs/cdr.htm","",0);
       Menu6_6=new Array("Audio Codecs","c:\\Program Files/Apache 
          Menu6_6_1=new Array("Audio Codec","c:\\Program Files/Apache 
          Menu6_6_2=new Array(".flac","c:\\Program Files/Apache Group/Apache/htdocs/flac.htm","",0);
          Menu6_6_3=new Array(".mp3","c:\\Program Files/Apache Group/Apache/htdocs/mp3.htm","",0);
          Menu6_6_4=new Array(".ogg","c:\\Program Files/Apache Group/Apache/htdocs/ogg.htm","",0);
          Menu6_6_5=new Array(".wma","c:\\Program Files/Apache 
          Menu6_6_6=new Array(".wav","c:\\Program Files/Apache Group/Apache/htdocs/pcm_or_wave.htm","",0);
          Menu6_6_7=new Array(".ra8","c:\\Program Files/Apache Group/Apache/htdocs/real_audio.htm","",0);
          Menu6_6_8=new Array(".shn","c:\\Program Files/Apache Group/Apache/htdocs/shn.htm","",0);
       Menu6_7=new Array("ShoutCast","c:\\Program Files/Apache Group/Apache/htdocs/shoutcast.htm","",0);
       Menu6_8=new Array("Winamp","c:\\Program Files/Apache Group/Apache/htdocs/winamp.htm","",0);
    Menu7=new Array("Chess","c:\\Program Files/Apache Group/Apache/htdocs/chess.htm","",0);
    Menu8=new Array("Contact","","",3);
    	Menu8_1=new Array("General Email","c:\\Program Files/Apache 
    	Menu8_2=new Array("Website Review","c:\\Program Files/Apache 
    	Menu8_3=new Array("Concert Review","c:\\Program Files/Apache 
    Menu9=new Array("Links","c:\\Program Files/Apache Group/Apache/htdocs/links.htm","",0);
    Last edited by xviddivxoggmp3; 01-20-2004 at 11:41 AM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  7. #22
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    You're giving waaaaaaaaay to few details for anyone to be helpful.

  8. #23
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    I'm having problems with the internal hyperlinks.
    If I'm referencing another page on the server, how would the path look?
    I was expecting it to be something like.
    Is this not correct?
    This is sort of right, but you want to remove the trailing slash. This URL tells the browser to connect to the server located at 'localhost' and request the file 'page.html'

    However, you typically want to use relative links.
    <!-- Get 'page.html' from the current directory -->
    <!-- Get 'page.html' from the parent directory -->
    <!-- Get 'page.html' from the root directory -->
    <!-- Get 'page.html' from the root/code directory -->
    This means the page will still work if you move it from 'localhost'


    This instructs the browser to load the file 'C:\path\file.html'. The server will NOT be contacted, the file will be retrieved directly from disk. This will only work for static pages, not php, asp, server side includes, etc.

    The page will not work on another computer where 'c:\path\file.html' is not available.

    >> the server makes the menu crash after being used once.<<

    As mentioned, with the URL's that you are using the server is not involved.

    Read this:

  9. #24
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003

    Arrow Javascript Menu

    Thank you to everybody that has posted in response.

    I'm using the code listed in the prior post with the code listed below. This portion below is listed in the body of every page.

    <body onload="javascript:{if(parent.frames[0]&&parent.frames ['left'].Go) parent.frames['left'].Go()}">

    After the menu is used once, then the menu is unfunctional.
    I believe the conversion from using a third party host to the new apache server has disable this somehow.

    >> the server makes the menu crash after being used once.<<

    As mentioned, with the URL's that you are using the server is not involved.
    Could you please expand on this. I'm not sure I understand you.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  10. #25
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    I figured it out.
    Thanks for everybodys assistance.

    Now I have that question about security.
    Is there any type of technic out there for making the shared server antihackable?

    And how do you name the link for people to enter?
    Last edited by xviddivxoggmp3; 01-21-2004 at 02:37 AM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. server side C++ question
    By twist2b in forum C++ Programming
    Replies: 2
    Last Post: 04-28-2008, 06:09 PM
  2. winsock server question?
    By kocho in forum Windows Programming
    Replies: 2
    Last Post: 02-02-2006, 12:52 PM
  3. Web Server in Router Network...
    By Aidman in forum Tech Board
    Replies: 15
    Last Post: 01-17-2003, 09:24 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21