only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 22, 2010 06:39AM

How come only my index.html page works and none of my others ones that are on the root dir?

Options: ReplyQuote
Re: only index.html works
Posted by: yfastud (Moderator)
Date: April 22, 2010 06:57AM


Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 22, 2010 07:18AM

that didnt work i know what it means by doing that... i tried that didnt work,,, my problem is

i have it in c:/wamp/www/index.html
when i go to [localhost]
it loads my index file website
but when i click a link it dosnt load the new page..... i dont understand why...

if i go to friends house and go to website it loads the index.html file but like i said above, when i click a link it dosnt load sad smiley

Options: ReplyQuote
Re: only index.html works
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: April 22, 2010 11:01AM

Post up the code for your link

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 22, 2010 02:11PM

post edited



Edited 1 time(s). Last edit at 04/22/2010 03:22PM by njkriminal.

Options: ReplyQuote
Re: only index.html works
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: April 22, 2010 02:16PM

I meant the code... not the site...

are u using a .htaccess? or vhosts?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 22, 2010 02:33PM

im still newbiew with this... im not sure what files im using correctly thats obvious why its not working but i think im using... httpd.conf [www.copypastecode.com]

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 22, 2010 03:21PM

sorry anyone? i need to try to get this problem fixed asap

Options: ReplyQuote
Re: only index.html works
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: April 22, 2010 03:36PM

u have <a href="/services.html">

in your index.html



Where is the file services.html

its in the www folder right? in the sam folder as the index.html?

then u need to have

<a href="services.html">

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.mycingular.net)
Date: April 22, 2010 07:22PM

Thanks 4 pointing that out but if I type another page in addy bar still won't load it... Except index.HTML

Options: ReplyQuote
Re: only index.html works
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: April 22, 2010 07:24PM

thats why i asked u ,, and u didnt answer

where did u put the files


Where is index.html

where is services.html

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.mycingular.net)
Date: April 22, 2010 08:52PM

They both in c: wamp/ www/

Options: ReplyQuote
Re: only index.html works
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: April 22, 2010 10:10PM

Does this happen if you go to [12.0.0.1] too? (ip address equivalent to localhost). If it does what color is the wamp tray icon it should be white. If it is red/yellow then it means wamp is not running properly due to an error.

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 23, 2010 05:08AM

yes it still happens and color is white its weird as hell sad smiley

Options: ReplyQuote
Re: only index.html works
Posted by: njkriminal (---.hsd1.nj.comcast.net)
Date: April 23, 2010 04:50PM

restarted computer it self and everything seems to be working thats for you time guys.... smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.