View previous topic :: View next topic |
Author |
Message |
jaylmaz Tux's lil' helper
Joined: 18 Feb 2006 Posts: 80
|
Posted: Wed Mar 28, 2007 3:46 pm Post subject: Cannot access mythweb remotely |
|
|
I can get to mythweb on the machine running mythtv with localhost/mythweb, but when I try to access mythweb remotely (from another machine on my network) all I get is a blank page. I have tried changing ports, but no difference. I can access the apache test page remotely.
I have tried to follow the wikis, but to not avail. The wikis indicate that the allow options should be in httpd.conf, but maybe I need to be doing somthing in the default vhost conf?
Any and all suggestions will be appreciated. |
|
Back to top |
|
|
chrismcdirty Apprentice
Joined: 18 Jul 2003 Posts: 160 Location: Newark, DE
|
Posted: Wed Mar 28, 2007 6:34 pm Post subject: |
|
|
Please post what you have done to enable mythweb within httpd.conf. |
|
Back to top |
|
|
jaylmaz Tux's lil' helper
Joined: 18 Feb 2006 Posts: 80
|
Posted: Thu Mar 29, 2007 12:34 am Post subject: |
|
|
Quote: | Please post what you have done to enable mythweb within httpd.conf. |
Here it is:
Code: | # First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
# Add permission for mythweb to set redirects:
<Directory /var/www/localhost/htdocs/mythweb>
AllowOverride All
</Directory>
|
I found this in the forums, it got the localhost/mythweb working. But not from another computer. |
|
Back to top |
|
|
chrismcdirty Apprentice
Joined: 18 Jul 2003 Posts: 160 Location: Newark, DE
|
Posted: Thu Mar 29, 2007 12:07 pm Post subject: |
|
|
Here is what mine looks like:
Code: | <Directory /var/www/localhost/htdocs/mythweb>
Order Deny,Allow
Deny from all
Allow from 192.168.1.0/16
AllowOverride All
Options FollowSymLinks
</Directory> |
The first three lines inside it only allow access from behind my router. If you wanted to let everyone access it (dangerous, if you don't have password access enabled), you try it with "Allow from all". |
|
Back to top |
|
|
jaylmaz Tux's lil' helper
Joined: 18 Feb 2006 Posts: 80
|
Posted: Thu Mar 29, 2007 11:39 pm Post subject: |
|
|
Thanks for the reply, but no luck, I tried the following:
Code: | <Directory /var/www/localhost/htdocs/mythweb>
Order Deny,Allow
Deny from all
Allow from All
AllowOverride All
Options FollowSymLinks
</Directory>
|
I still cannot access mythweb from anywhere other than localhost.
Any other suggestions will be appreciated. |
|
Back to top |
|
|
belrpr Guru
Joined: 22 May 2006 Posts: 440
|
Posted: Fri Mar 30, 2007 7:27 am Post subject: |
|
|
jaylmaz wrote: | Thanks for the reply, but no luck, I tried the following:
Code: | <Directory /var/www/localhost/htdocs/mythweb>
Order Deny,Allow
Deny from all
Allow from All
AllowOverride All
Options FollowSymLinks
</Directory>
|
I still cannot access mythweb from anywhere other than localhost.
Any other suggestions will be appreciated. |
Read the apache configuration, you need to enable to allow apache to serve to the outside. |
|
Back to top |
|
|
jaylmaz Tux's lil' helper
Joined: 18 Feb 2006 Posts: 80
|
Posted: Sat Mar 31, 2007 4:24 pm Post subject: |
|
|
Quote: | Read the apache configuration, you need to enable to allow apache to serve to the outside. |
I can get to the apache test page from another computer on my home nework so I'm assuming apache is set up correctly. But all I get on MythWeb is a blank page, no errors messages, nothing. |
|
Back to top |
|
|
|