Daniel Bauer wrote:
Yes, I have firewalld running, I know since 5 minutes :-) I stopped it, and - trara! - it (kind of) works.
So now I have two questions:
- can I open port 80 in firewalld settings (I guess I'll find them somewhere in Yast) without the risk to compromise my computer or the files that are within the local apache directory htdocs...?
Yep. By opening port 80 on that machine, your apache webserver becomes available to your local network only.
- what could be the reason for the "kind of" described below?
Kind of: I get the connection to the server http://192.158.1.x and it show's apaches default index-page "it works".
That isn't "kind of", that's 100% success :-)
Now when I call my file http://192.158.1.x/Entwicklung/project/index.php it shows the text of the index-file, but not the images, nor does it use the CSS.
"text of the the index file" = output from your index.php ? When it doesn't show any images, what do you see instead - a placeholder or just nothing? The former would mean the image wasn't found, if you see nothing at all, something is wrong with the HTML. Not using the CSS - which is linked in from a file? Also sounds like the file isn't being found. If you look in the apache logs, you will see 404s for the files that were not found.
On my local computer the path is /srv/www/htdocs/Entwicklung/project within the php-file pathes are relative it works on the same computer, but not on the phone (but it works on the phone when calling it from the online-internet-server)
"it works on the same computer" ? so when you browse it locally, which address do you use? localhost or 192.168.x.x ? Try it from the local computer, but with 192.168.x.x - that ought to produce the same result as on your phone. Maybe then view the source (ctrl-u) and paste it somewhere for us to see. Or send it to me. -- Per Jessen, Zürich (10.7°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org