Mac OS X Lion Server :: Set Apache To Listen To Certain IP?
Mar 28, 2012
how to set apache to listen to onlt certain ip's? I tried changing the httpd.conf file using the listen command, but it still listens to all ips. If I adjust the default website to listen to lets say 192.168.2.2:80 it does, but then seems like it breaks server admin, where changes do not save.Â
Info:
Lion Server 10.7.3, Mac OS X (10.7.3)
View 2 Replies
ADVERTISEMENT
May 21, 2012
With any Unix machine, one can run at the command line:- apachectl -S This will show all virtual servers configured in Apache, and will break if there are any obvious problems in the httpd .conf files. It's very handy for testing a new configuration before restarting the server. With Mac OS X Server though, this doesn't work properly. Sure, I can run that command and see a virtual server or two, but with the introduction of the server Apache wrappers, the command line tools read a very different configuration than the `serveradmin` tool does.
e.g. Wrappers like:-<IfDefine MACOSXSERVER>
....
</IfDefine>
or <IfDefine WEBSERVICE_ON>
[code]....
ps. Running `sudo serveradmin stop web && sudo serveradmin start web` really compared to `apachectl graceful`; it's painfully slow and doesn't provide a way to test a custom configuration before attempting to restart.
Info:
Mac Pro mid-2010, Mac OS X (10.6.4)
View 2 Replies
View Related
May 3, 2012
I have a Mac mini running Leopard server (10 user) and I am getting an error in the system log: "May 3 14:52:25 mini01 org.apache.httpd[941]: SSLCertificateFile: file '/etc/certificates/Default.crt' does not exist or is empty". I do not have web services running, nor is Apache 1.2 running. I was trying to update to Apache 2.2 but it constantly failed so I just shut web services down (using this system for training NOT critical). How do I stop what appears to be Apache 2.2 from launching/looking for a non-existant SSL certificate?
Info:
Mac mini, Mac OS X (10.5.8)
View 1 Replies
View Related
Oct 17, 2010
how can I edit "root" pages, such as [URL] instead of ones under my user directory [URL] on MacOSX 10.5.8?
View 1 Replies
View Related
Aug 13, 2010
Currently I'm using Apache version 2.2.14 and wanted to upgrade to 2.2.16 but after upgrade I found that it still running in old version.
View 1 Replies
View Related
Jun 11, 2010
I am running mac os x 10.5.8. I want to run the apache server, but i get the following error: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log. Unable to open logs. It is the first time I try using Web Sharing on my machine, but somehow it seems some files are missing. Is it possible to install the apache server anew?
View 4 Replies
View Related
Jun 5, 2014
What does apache 2.2.22 (ubuntu) server port 80 forbidden user mean?
View 4 Replies
View Related
Jul 19, 2009
I have a 2007 MacBook Pro. I was wondering if it were possible to turn it into a server using Apache. Also, if I used Apache to turn my computer into a server, would it be compatible with SMF or vBulletin and able to host one of these software?
View 3 Replies
View Related
Mar 15, 2012
I'm creating symbolic links in /Library/WebServer/Documents & I'm getting permissions errors. This works fine on Snow Leopard, not on Lion. I note that the httpd.conf file entry for /Library/WebServerDocuments sets the following options: Options Indexes FollowSymLinks MultiViewsÂ
So, it should be working, I would think. The links are owned by root/wheel and have lrwxr-xr-x permissions. The directory being linked is owned by <me>/wheel, and has rwxr-xr-x permissions. As an also - I tried to create the personal website folder in the web sharing preferences. It created a 'sites' folder in my '~' folder. I can't navigate into that, either... I've stopped and started the apache2/httpd server several times - no change.Â
View 2 Replies
View Related
Jun 19, 2012
6/20/12 12:41:28.575 AM org.apache.httpd: Syntax error on line 1 of /private/etc/apache2/users/Nbulkz.conf:
6/20/12 12:41:28.575 AM org.apache.httpd: Invalid command 'Nbulkz/Sites/"', perhaps misspelled or defined by a module not included in the server configuration
The error message above is the one I see in console. I cannot turn on websharing on my osx 10.7 macbook pro. I was able to at one point but my computer froze and upon restart I was not able to access my localhost/~Nbulkz personal webpage. For awhile I was able to turn websharing on and off, but I was not able to access my personal webpage and was given the Error Forbidden 403.
I then turned it off and restarted but now it won't even turn on in the User Interface "Sharing" in system preferences. I see there is a syntax error in the .conf file but I used an Apple Support procedure that had me write that same .conf file so I'm confused about what to try next. I've been using apache 2.2.1, php v. 5.4 and mysql along with php_myadmin. I've already rewrote disk utility permissions.
Info:
MacBook Pro, Mac OS X (10.7.4)
View 3 Replies
View Related
Feb 19, 2012
I have a server in our DMZ that connects to Active Directory LDAP server (non-ssl over 389) but no objects actually show up in the directory editor. I get a green light in my Network Account Server, but queries against LDAP return no results. My end goal is to be able to dictate to Profile Manager what LDAP groups are allowed to enroll devices. I tested on our internal network on a test server and get the same results. Anyone have any luck connecting a Lion Server to LDAP and actually being able to view and utilize users and groups?
Info:
Mac mini, Mac OS X (10.7.3), Server
View 1 Replies
View Related
Feb 22, 2007
Where do I put a file I want people to access via a web browser like [URL]. Where do I put file.txt once I have websharing on? I've tried both Sites and Public but none work.
View 2 Replies
View Related
Jul 19, 2010
I've installed apache and php through MacPorts and would like to remove the ones that were installed by default. How can I do this?
View 7 Replies
View Related
Apr 16, 2008
I just had my new Macbook Pro 2.4, Mac OS X 10.5.2 and decided to make a totally fresh install. Installed MySQL and stared PHP etc. Working great. But now I can't get my Apache to work. I have been following all tutorials on the net and looking around. Web sharing and so on and on. MySQL is working fine but and http://localhost/ attempts resumes in. Safari can't open the page "http://localhost/" because it could not connect to the server "localhost". What the xxx am I doing wrong? Also the "/var/log/apache2" is empty.
View 6 Replies
View Related
Apr 16, 2012
I have 1 tb data drive on server for student files but only using 40gb and says out of space. I cannot figure out where the space is located.
Info:
Mac Pro, Mac OS X (10.7.3)
View 1 Replies
View Related
May 2, 2012
I have installed Lion Server with Web and Profile Manager services. When I log into the profile manager web page I receive the message "Not Found The requested URL /wiki was not found on this server."Â
Info:
Mac mini, Mac OS X (10.7.3)
View 3 Replies
View Related
Feb 9, 2012
I recently updated my Server running 10.7.0 to version 10.7.3 and single-sign-on no longer works for my users. The 10.7.3 Lion Server System is bound to our Active Directory Server running on Win2003 R2 Server. I tried un-binding and rebinding the system but.. no luck. When a user now tries to login to our shares via AFP with SSO credentials they recieve the message Â
I can run the id command from terminal on the OS X server and it is seeing AD users. Unfortunately, no one can log into the server shares via AFP with an AD user.Â
Info:
Xserve, Mac OS X (10.6.6)
View 3 Replies
View Related
Mar 12, 2012
I am desperate for help because whatever I do I cannot get my own certificates to work. When I first set up Lion Server a so-called Intermediate CA and a corresponding SSL server certificate was automatically installed and that works fine. Now, I wanted to create my own Certificate Authority (CA) and a leaf SSL server certificate.[URL]First I created my own CA, and then I created a new certificate with the Server App (ID type "leaf", certificate type "SSL server". (see screenshots below), and I had it signed by my own CA. When I checked the certificate it said "valid".Next, I exported the certificate from the keychain (as .p12) and then I went to Server App's "Import a certificate identity" to drag and drop the certificate onto the window. So far so good.
When I opened the list of certificates (Server App -> Hardware -> SSL -> Edit ) the new certificate showed up once, and after the Server App had tried to install the certificate it simply did not show up any more. I have copied the important parts of the certificate below (private parts have been cropped).The common name and the DNS name are "myserver.domain.private", and yes, DNS is working fine.(I stopped started services and re-booted in between creating and importing the new certificate.)Â
Info:
Mac mini (Mid 2010), Mac OS X (10.7.3)
View 1 Replies
View Related
Apr 1, 2012
I don't understand how it happened, but a school I work with has had the SUS rip through 80Gig in a few days (Snow Leopard Server 10.6.8). Same as with my home server (Lion Server 10.7.3).
View 3 Replies
View Related
Apr 18, 2012
Since installing Filemaker Server 12 on our Lion Server 10.7.3, the Webmail is no longer working. I know with previous installations of Filemaker Server I have been asked whether I wanted to keep the system version of PHP or install PHP which comes with Filemaker Server, but I don't recall being prompted about it on this occasion. Previously I had always opted to retain the system PHP.
[code]...
And from the WAN I get just a screen saying webmail is turned off and that I can turn it on by using the Server app on the server (It is already checked in the server app).Â
Info:
Mac mini Server (Mid 2011), Mac OS X (10.7.3)
View 1 Replies
View Related
May 23, 2012
not quite so dire if you clicked this wondering ??? And why is this bing posted on Server forum? Well it happens to be on a server and I am trying to iron out what happens when you completely trash the system and start over. This problem occured in a subdirectory on one folder. It (the triangles ->) are there for all the other folders. However, there is one folder I had on a backup (backup, meaning still being a previous version of Lion) that at one point that any group of folders I place into it. there is no browsing triangle that lets you go down furthur. Yes you can open the folder and go further in, so its not prefs that I am aware of. Â
At this level...Triangles Here Still? Triangles still here. (Must say in Cookie Monster voice if you've watched the "Cookies done yet" bit you might giggle or at least be mildly annoyed.)
If you browse from this part of the hierarchy you get the expected behavior...Triangles Here Still? Triangles still here. however if you open the folder here is what you get...Triangles Here Still? (uh oh).
[Code]...
Anyway, sorry for the "less professional" candor of this post, but I have kids and a wife, and they think I am boring at times, and I love them - and while I am struggling with this, I am thinking of them, and obviously not with them. Ok Universe, this is where I need you the most: I'm counting on you do to something or say something to make it all better. Ok...Go
Info:
Mac mini, Mac OS X (10.7.4), Lion Server
View 1 Replies
View Related
Jun 4, 2012
I know this issue is kind of old, but there are so many flavors of it, that it is hard to find exact match. I've been having problems with single account, and it happens that this account has admin rights. Emails get pulled/deleted from user's mailbox within 10 secs after arrival. There are no other devices that may be pulling those emails, however, I've noticed something strange in the logs:
Jun 4 13:47:43 osxserver dovecot[173]: imap-login: Login: user=<xxxx>, method=CRAM-MD5, rip=192.168.0.123, lip=192.168.0.123, mpid=406, securedÂ
I don't know if this event is normal to run on server itself, but seems it runs only for this one account that I'm having problems with. There is no imap client setup on that server, and based on my time stamps observations I'm pretty much convinced that's what's deleting my emails.
View 1 Replies
View Related
Jun 5, 2012
The girlfriend and I are consolidating machines and want to try a software based approach instead of a plug and swap approach. My goal is to have only a Desktop + iPad and she have her MacBook. The issue is that we also want to keep it limited to one monitor, etc. on the desk but she is in grad school and will have need for the larger screen and keyboard. My question is can I set up her laptop to use a Mobile Account and assuming she logs off on that before going onto the Server, can she then log in to the Server desktop and use that Mobile Account locally there? So sometimes use the Mobile Account on the laptop, Sometimes on the Desktop. From my days managing a small network, this seems plausible but could also be fraught with problems.
Info:
Mac OS X (10.7.4)
View 1 Replies
View Related
Feb 3, 2012
Running a Lion Server I have decided to move /Users and /Groups to another partition but now when I create a user or group no user or group share is created. Groups aren't that much of a problem since I can create those manually, but user homes.Â
I have in server.app pointed the new location out as sharepoint both users and groups point to the right place, but there's probaaby a terminal command to run somewhere here....
Info:
Mac mini, Mac OS X (10.7.2), Lion Server
View 1 Replies
View Related
Feb 3, 2012
how to to reset or delete preferences of wiki server
Info:
Mac mini, Mac OS X (10.7.2)
View 1 Replies
View Related
Feb 10, 2012
iTunes sees calendars we have set up in the office (those being shared, coming from iCal Server - Lion), but it will not sync that data to our iphones. I tried this at home where I have my personal computer's client iCal app get calendar data from our work server. It won't sync that either, though iTunes does see (in the sync list) the calendars.
View 4 Replies
View Related
Mar 2, 2012
Keep getting this error message when I open my Mail:Â The server returned the error: The server [URL]cannot be contacted on port 993.
Info:
MacBook Pro, Mac OS X (10.7.3)
View 7 Replies
View Related
Mar 8, 2012
Not able to find the lion software update service in server app
View 1 Replies
View Related
Apr 2, 2012
I have an OS X Server 10.6 setup with iChat and it works perfectly.This Mac is connected directly to the WWW, no firewall. I have an OS X Server 10.7 setup with iChat and it works perfectly EXCEPT for File Transfers This Mac is connected directly to the WWW, with a Netgear FVS336Gv2.I have opened all the correct ports for TCP & UDP and mapped them to my OSX Server 10.7 at 192.168.2.100Â
why should JUST file transfers do not work?This iChat OSX Server 10.7 is setup for people on the same server, using the same domain. File Transfer in iChat WORKS on the internal network OK?File Transfer in iChat DOESN'T WORK on external network?
Info:
Mac Pro, Mac OS X (10.7.2), Server
View 9 Replies
View Related
May 1, 2012
[code]...
This is the error log im getting back from the addressbook server error log. I noticed that the push notification is not working for the addressbook server.
Info:Mac mini, Mac OS X (10.7.3)
View 2 Replies
View Related