Good evening,
I can't link my webserverplugin-page with a second webpage. If I do this and open the second webpage I get only the error code 404 (nothing matches the given URI).
HTML-code: <a href="2webpage.htm"> Second Webpage </a>
The second webpage is in the same folder as the first page.
But there is a problem. I have to take the html-file (C:\Program Files\...\www\Webserver.htm) instead of my folder (C:\Program Files\...\www\) as my data directory in the plugin adjustments. Otherwise I can't open the first webpage.
I were happy, if anybody knows a solution?
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Webserver: More than one web page
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Webserver: More than one web page
Perhaps you need to add more information or attach your files and screenshots.
I tried to simulate your situation, but I have come across no problem.
Pako
I tried to simulate your situation, but I have come across no problem.
Pako
-
EventGhost4ever
- Posts: 11
- Joined: Fri Oct 28, 2011 6:37 pm
Re: Webserver: More than one web page
Webser-Plugin adjustments:
I have to take the html-file (C:\Program Files\...\www\Webserver.htm) instead of my folder (C:\Program Files\...\www\) as my data directory in the plugin adjustments. Otherwise I can't open the first webpage (Webserver.htm).
Webserver.htm:
<html>
<head> <title>EventGhost</title></head>
<body>
<a href="?Flurlicht_an"> Flurlicht an </a><br>
<a href="?Flurlicht_aus"> Flurlicht aus </a><br>
<a href="2webpage.htm"> Second Webpage </a>
</body>
</html>
2webpage.htm (same folder as Webserver.htm)
<html>
<head> <title>EventGhost</title></head>
<body>
Hello world!
</body>
</html>
Webserver.htm:
<html>
<head> <title>EventGhost</title></head>
<body>
<a href="?Flurlicht_an"> Flurlicht an </a><br>
<a href="?Flurlicht_aus"> Flurlicht aus </a><br>
<a href="2webpage.htm"> Second Webpage </a>
</body>
</html>
2webpage.htm (same folder as Webserver.htm)
<html>
<head> <title>EventGhost</title></head>
<body>
Hello world!
</body>
</html>
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Webserver: More than one web page
Code: Select all
<html>
<head> <title>EventGhost</title></head>
<body>
<a href="Webserver.htm?Flurlicht_an"> Flurlicht an </a><br>
<a href="Webserver.htm?Flurlicht_aus"> Flurlicht aus </a><br>
<a href="2webpage.htm"> Second Webpage </a>
</body>
</html>Pako
-
EventGhost4ever
- Posts: 11
- Joined: Fri Oct 28, 2011 6:37 pm
Re: Webserver: More than one web page
Thanks Pako.
My problem was, that I used the URI without path (address.org/ instead of address.org/EventGhost.html).
My problem was, that I used the URI without path (address.org/ instead of address.org/EventGhost.html).