
8th November 2009, 15:30
|
|
Junior Member
|
|
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Some questions about openSUSE/Webserver
Hey folks,
I've installed openSUSE and want to use it as a webserver. I've followed the great HOWTO for SUSE LAMP which helped me greatly! Apache, mysql and php all work now. If i place files in the htdocs folder i can access them fine with http://192.168.1.103/filename.extension
But i have some questions (if there silly, im sory but im new to openSUSE/Apache.
1. How can i access the files from other computers in my home network?
if i type http://192.168.1.103/info.php on my desktop i dont see nothing, what am i doing wrong?
2. If i want to host a website on this webserver (something limited like the profile i had to make for school) what else do i need to do?
3. during installation of all the programs and opensuse some packages failed to install, most often the hplib package. why is that? is it bad? and can i fix it? :P
Thanks for your help,
Bioforce
New happy opensuse user
|

9th November 2009, 15:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,842
Thanks: 781
Thanked 1,557 Times in 1,476 Posts
|
|
Quote:
Originally Posted by Bioforce
1. How can i access the files from other computers in my home network?
if i type http://192.168.1.103/info.php on my desktop i dont see nothing, what am i doing wrong?
|
Did you create or upload the info.php file to the document root of the web site?
Quote:
Originally Posted by Bioforce
2. If i want to host a website on this webserver (something limited like the profile i had to make for school) what else do i need to do?
|
If your server is behind a router, you must configure your router to forward port 80 to your server. If you want to use a domain, the domain's DNS record must point to your router's public IP address.
Quote:
Originally Posted by Bioforce
3. during installation of all the programs and opensuse some packages failed to install, most often the hplib package. why is that? is it bad? and can i fix it? :P
|
Can you post the exact error message?
|

9th November 2009, 15:25
|
|
Junior Member
|
|
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
Thanks for your reply.
as for question 1, i put the document in /srv/www/htdocs on the server.
The error message ill post here when i can, but i have to try installing hplip again when im home.
|

10th November 2009, 17:57
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,842
Thanks: 781
Thanked 1,557 Times in 1,476 Posts
|
|
Quote:
Originally Posted by Bioforce
as for question 1, i put the document in /srv/www/htdocs on the server.
|
Is that the same folder where you put the other (working) files?
Any errors in Apache's error log?
|

10th November 2009, 19:43
|
|
Junior Member
|
|
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I forgot to open up port 80, it works now.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:13.
|
Recent comments
16 hours 9 min ago
19 hours 46 min ago
21 hours 43 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 14 hours ago
1 day 19 hours ago