Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: w m on December 16, 2002, 01:59:11 AM
-
I installed phpgroupware on my e-smith 5.5 with all the updates. I installed it according the the instructions provided by H.F. Wang. I can get everything working if I reference my internal lan ip number, as in https://192.168.1.2/group. I can not reference it using my domain name. My primary site works, sites in other ibays work.
To get the site to work with the internal ip I have to change the phpgroupware url to reference the internal ip. I have changed this to reference the http://www.domain.com/group but to no avail.
#------------------
#phpGroupWare
#-----------------
Alias /group /opt/phpgroupware
RequireSSL on
AddType application/x-httpd-php .php .php3 .phtml
Options Indexes +Includes FollowSymLinks
order deny,allow
deny from all
allow from all
Although I know I should not run in production like this, I have given all the files 777 permission just to eliminate that issue during testing.
When I enter https://192.168.1.2/group the login screen appears. Upon login, I get the secure login warning and then an error page saying https://www.domain.com/group/login.php " This page cannot be displayed". The configuration file has been sent to reference the domain for this test and not the internal url.
I am using a linksys cable router, but my other websites work.
I have read almost every posting related to phpgroupware and although garnered much info have not been able to solve this. Some direction would be appreciated. Much Thanks
-
Judging from what you have said above your "domain" is *not* the "primary" domain? Anything that gets installed in /opt cannot be referenced by http://www.ibayname.com/opt_name . It has to be referenced by the primary system name. I'm sure there is some way to edit the templates to change that, but I have no idea what that is...
w m wrote:
>
> I installed phpgroupware on my e-smith 5.5 with all the
> updates. I installed it according the the instructions
> provided by H.F. Wang. I can get everything working if I
> reference my internal lan ip number, as in
> https://192.168.1.2/group. I can not reference it using my
> domain name. My primary site works, sites in other ibays work.
>
> To get the site to work with the internal ip I have to change
> the phpgroupware url to reference the internal ip. I have
> changed this to reference the http://www.domain.com/group but
> to no avail.
>
> #------------------
> #phpGroupWare
> #-----------------
>
> Alias /group /opt/phpgroupware
>
>
> RequireSSL on
> AddType application/x-httpd-php .php .php3 .phtml
> Options Indexes +Includes FollowSymLinks
> order deny,allow
> deny from all
> allow from all
>
>
> Although I know I should not run in production like this, I
> have given all the files 777 permission just to eliminate
> that issue during testing.
>
> When I enter https://192.168.1.2/group the login screen
> appears. Upon login, I get the secure login warning and then
> an error page saying https://www.domain.com/group/login.php "
> This page cannot be displayed". The configuration file has
> been sent to reference the domain for this test and not the
> internal url.
>
> I am using a linksys cable router, but my other websites work.
>
> I have read almost every posting related to phpgroupware and
> although garnered much info have not been able to solve this.
> Some direction would be appreciated. Much Thanks
-
Terry:
Thanks. I have an internet dns entry 'www.aaa.com' pointing to my router which redirects port 80 through to SME server. On my SME server I have an ibay 'aaa', and a virtual site 'aaa' pointing to the 'aaa' ibay specified as the primary site. This seems to work just fine.
I thought I was supposed to access the phpgroupware by entering www.aaa.com/group. The only dns entry I have on the web is aaa.com
I reviewed my configuration through the server-manager and it does not show a 'system name'.
Now I am confused.
Hope this additional info helps someone point me in the right direction.
Much Thanks,
W
-
OK, here's a quick test:
while on the LOCAL lan, if you go to http://server_name/groupware_name do you get the groupware site?
When I say "server_name" I mean the system name you specified during install, not a "domain.com" name.
If you can get the groupware page using http://server_name/groupware_name it means that the URL you are using will not append the /groupware_name on the end because Apache is expecting to see /proupware_name as a directory under /ibay_name, not the primary directory. This makes sense in my head, although it looks strange typing it out...
-
Terry:
Yes that works. I can put either the local lan ip address or the server-name in the config and it works. I just can't access it over the internet using the internet url that points to my server.
I noticed some people are putting phpgroupware into an ibay rather than in a directory under opt. Maybe this is why?
Thanks
W
-
Hi,
I bet that in the setup of phpgw you entered https instead of httpS...
1. Go back in to the setup (http://your.server/group/setup
2. Select 'edit current configuartion'
3. Change the 3rd entry (Location of phpgrouware's URL) and make it look like:
https://www.your.server/group
4. save and log out
5. Restore the original httpd.conf template in your first mail.
If you don't want to use HTTPS then remove the first line in the httpd.conf (requiressl) and in the phpgw setup remove the s from https (location url)
Hope it helps
Regards,
guestHH
-
ps. I use it behind /opt because it's a webapplication and I don't want to see it when browsing my network and shares. Otherwise I have a lot of ibays showing on my server without needing them there. Also customizing the /opt/group is more easy to do (htaccess, apache etc) than a fully automated ibay whch creates it's own configuartion and I don;t want to mess with that.
Regards,
guestHH
-
sorry, my first reply must say:
I be you entered http instaead of https.... (thus without the trailing S)