 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
jcao
Joined: 22 Jan 2007
Posts: 1
|
| Posted: Mon Jan 22, 2007 7:05 pm Post subject: Cannot find the correct path |
|
|
I am not sure if this is the correct place for the following problem:
I have a web site with this structure
mysite --> index.html and others folders
on index.html I have the following code
Code:
if (screen.width <= 900) {document.writeln('<img src="/novo/ptg/imagens/home/index.jpg" width="780" height="430" border="0" usemap="#Map" align="middle"/>');
but the image does not appear.
The path looks like http://apache2triad/mysite/
but does not show the picture.
If I call the adm module I cannot access the mysql bd.
This site works well in another server with apache.
What I must to do in the apache2triad.
It seems to me that is a path problem in apache
Thanks in advance for your help |
|
| Back to top |
|
lku homer
Joined: 29 May 2006
Posts: 104
|
| Posted: Mon Jan 22, 2007 10:47 pm Post subject: |
|
|
Hrmm... I didn't know HTML could do if statements. Anyway your missing a closing bracket, that might be it.
You may want to check your DocumentRoot, if you really want it to be in C:/a2t/mysite make sure you set the DocumentRoot there. In, I think, everyone's case you want the DocumentRoot to be C:/a2t/htdocs. If your document path is set up as that and you are trying to get to MySQL db from C:/a2t/mysite it won't work.
Also, http://apache2triad/mysite is not a valid site. Mainly because it's coming from your local machine. If you have a site published it would help to give us the URL of that. And not your local address. |
|
| Back to top |
|
| |
|