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
    Posts
    589
    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.
    http://localhost/page.html/
    Is this not correct?

    FU Question(2)
    (a)
    Do servers have security (e.g. firewalls) or does software like that prevent the sharing of the server with the internet?
    (b)
    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
    Posts
    2,001
    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
    Posts
    589
    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?
    file://c:\whatever\file.html
    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? http://ipaddress:portnumber.com
    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
    Location
    Australia
    Posts
    986
    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
    Posts
    2,001
    well he does already have apache set up, so, go to www.devshed.com 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
    Posts
    589
    I'm just starting the post in regards to the issue so check back.

    stovellp
    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.

    Code:
     
    	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 
    
    subs
    	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 
    
    'right'
    	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 
    
    'right'
    	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or 
    
    static
    	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, 
    
    width);
    //	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 
    
    Group/Apache/htdocs/keller_williams.htm","",0,20,150);
       Menu4_2=new Array("Dave Matthews","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/davematthewband_coverpage.htm","",0,20,150);
       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 
    
    Group/Apache/htdocs/bellafleck.htm","",0,20,150);
       Menu4_5=new Array("Rusted Root","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/rustedroot.htm","",0,20,150);
       Menu4_6=new Array("Left Over Salmon","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/leftoversalmon.htm","",0,20,150);
       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 
    
    Group/Apache/htdocs/AmericanPrayer.htm","",0,20,150);
          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 
    
    Group/Apache/htdocs/csc125.htm#html","",0,20,150);
             Menu5_1_1_2=new Array("XHTML Definition","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#xhtml","",0);
    	 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 
    
    Group/Apache/htdocs/csc125.htm#comments","",0,20,150);
    	 Menu5_1_2_2=new Array("Tags","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#tags","",0);
    	 Menu5_1_2_3=new Array("HTML Element","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#htmlt","",0);
    	 Menu5_1_2_4=new Array("Header","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125#header.htm","",0);
    	 Menu5_1_2_5=new Array("Title","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#title","",0);
    	 Menu5_1_2_6=new Array("Body","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#body","",0);
    	 Menu5_1_2_7=new Array("Paragraph","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#paragraph","",0);
    	 Menu5_1_2_8=new Array("Line Break","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#linebreak","",0);
    	 Menu5_1_2_9=new Array("Font Size","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#fontsize","",0);
          Menu5_1_3=new Array("Advanced","","",7,20,150);
    	 Menu5_1_3_1=new Array("Images","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#images","",0,20,150);
    	 Menu5_1_3_2=new Array("Hyperlinks","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#hyperlinks","",0);
    	 Menu5_1_3_3=new Array("Lists","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#ul","",0);
    	 Menu5_1_3_4=new Array("Tables","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#tables","",0);
    	 Menu5_1_3_5=new Array("Image Maps","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#ImageMaps","",0);
    	 Menu5_1_3_6=new Array("Cascading Sheets","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#CSS","",0);
    	 Menu5_1_3_7=new Array("Frames","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/frames_tutorial.htm","",0);
          Menu5_1_4=new Array("Appendix","","",3,20,150);
    	 Menu5_1_4_1=new Array("W3C Test","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#test","",0,20,150);
    	 Menu5_1_4_2=new Array("Index of Code","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#a","",0);
    	 Menu5_1_4_3=new Array("ASCII Chart","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/csc125.htm#ascii","",0);
       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 
    
    Group/Apache/htdocs/C1.htm","",0,20,150);
    	   Menu5_2_1_3=new Array("C#","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/C2.htm","",0,20,150);
      	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 
    
    Group/Apache/htdocs/include.htm","",0,20,150);
    		  Menu5_2_3_1_2=new Array("main()","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/main.htm","",0,20,150);
    	   	  Menu5_2_3_1_3=new Array("cin","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/cin_and_insertion_operator.htm","",0,20,150);
    		  Menu5_2_3_1_4=new Array("cout","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/cout.htm","",0,20,150); 
    		  Menu5_2_3_1_5=new Array(">>","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/insertionOperator.htm","",0,20,150);
    		  Menu5_2_3_1_6=new Array("<<<","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/extractionOperator.htm","",0,20,150); 		
    		  Menu5_2_3_1_7=new Array(";","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Terminator.htm","",0,20,150); 
    	   	  Menu5_2_3_1_8=new Array("&&","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/and.htm","",0,20,150); 
    		  Menu5_2_3_1_9=new Array("=","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/assignment.htm","",0,20,150); 
    		  Menu5_2_3_1_10=new Array("!","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/not.htm","",0,20,150); 		  
    	   Menu5_2_3_2=new Array("Advanced","","",7,20,150);
    	      Menu5_2_3_2_1=new Array("Huge Integer","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Csource0.htm","",0,20,150);
    	      Menu5_2_3_2_2=new Array("Single linked List","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Csource1.htm","",0,20,200);
    	      Menu5_2_3_2_3=new Array("Double linked List","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Csource2.htm","",0,20,200);
         	      Menu5_2_3_2_4=new Array("Overloading","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Ctutorial2.htm","",0,20,150);
         	      Menu5_2_3_2_5=new Array("Queue","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Ctutorial3.htm","",0,20,150);
         	      Menu5_2_3_2_6=new Array("Stack","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Ctutorial4.htm","",0,20,150);
         	      Menu5_2_3_2_7=new Array("Binary Tree","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/Ctutorial5.htm","",0,20,150);
            Menu5_2_4=new Array("C# Syntax","","",0,20,150);
            Menu5_2_5=new Array("C/C++/C# Help","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/C3.htm","",0,20,150);
            Menu5_2_6=new Array("C/C++/C# Links","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/C4.htm","",0,20,150);
       	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 
    
    Group/Apache/htdocs/javascript.htm","",0,20,150);
          Menu5_4_2=new Array("Functions","","",4,20,150);
             Menu5_4_2_1=new Array("Function Definition","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/javascript_functions.htm","",0,20,150);
             Menu5_4_2_2=new Array("Simple Function","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/javascript_Simple_function.htm","",0,20,150);
             Menu5_4_2_3=new Array("Passing function","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/js_passing_function.htm","",0,20,150);
             Menu5_4_2_4=new Array("Returning function","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/js_returning_function.htm","",0,20,150);
          Menu5_4_3=new Array("Array","","",4,20,150);
             Menu5_4_3_1=new Array("Definition","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/arrays.htm","",0,20,150);
             Menu5_4_3_2=new Array("Declare/Allocate","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/array1.htm","",0,20,150);
             Menu5_4_3_3=new Array("Initialize","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/array2.htm","",0,20,150);
          	 Menu5_4_3_4=new Array("Accessing","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/array3.htm","",0,20,150);
          Menu5_4_4=new Array("Source Code","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/javascript_programs.htm","",0,20,150);
          Menu5_4_5=new Array("Cancel Breakdown","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/cancelBreakdown.htm","",0,20,150);
       Menu5_5=new Array("Visual Basic","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/visualbasic.htm","",0);
       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 
    
    Group/Apache/htdocs/gnu_general_public_license.htm","",0);
       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 
    
    Group/Apache/htdocs/coldfusion5.htm","",0);
       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 
    
    Group/Apache/htdocs/bootlegs.htm","",0,20,150);
       Menu6_2=new Array("Recording","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/recording_equipment.htm","",0,20,150);
       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 
    
    Group/Apache/htdocs/audio%20codec%20index.htm","",8,20,150);
          Menu6_6_1=new Array("Audio Codec","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/audio_codec_cover.htm","",0,20,150);
          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 
    
    Group/Apache/htdocs/windows_media_audio.htm","",0);
          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 
    
    Group/Apache/htdocs/general_email.htm","",0,20,150);
    	Menu8_2=new Array("Website Review","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/form.htm","",0,20,150);
    	Menu8_3=new Array("Concert Review","c:\\Program Files/Apache 
    
    Group/Apache/htdocs/form2.htm","",0);
    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
    Posts
    4,429
    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
    Posts
    2,544
    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.
    http://localhost/page.html/
    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.
    Code:
    <!-- Get 'page.html' from the current directory -->
    href="page.html"
    
    <!-- Get 'page.html' from the parent directory -->
    href="../page.html"
    
    <!-- Get 'page.html' from the root directory -->
    href="/page.html"
    
    <!-- Get 'page.html' from the root/code directory -->
    href="/code/page.html"
    This means the page will still work if you move it from 'localhost'

    >>file://c:\path\file.html<<

    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:
    http://www.uncw.edu/cte/how2/rvaurl/

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

    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.

    Code:
    <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
    Posts
    589
    I figured it out.
    Thanks for everybodys assistance.

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

    [edit2]
    And how do you name the link for people to enter?
    [\edit2]
    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