Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Test-Driving Development for the Firefox OS Phone
CrunchBang 11 Waldorf Review
VMware Cloud and Zimbra Open Source Email: Countering Microsoft Office 365?
Top 5 misconceptions about open source in government programs
Putting Technology into the Hands of Tomorrow
Ubuntu Linux Tablets From System76, ZaReason?
$99 HDMI stick turns displays into virtual desktops
Review of the new Digital Public Library of America
Perform scalable distributed monitoring of Clusters and Grids
Hybryde Fusion: A very unique Linux distribution
more
Recent comments
Merci
20 hours 19 min ago
I found that php_flag
1 day 1 hour ago
Great stuff!
1 day 2 hours ago
Wonderful Howto
1 day 3 hours ago
Hoi,do not plan on virtual
1 day 5 hours ago
Thank you for posting
1 day 9 hours ago
Thank you. Â Excellent
1 day 10 hours ago
Re: The structure of the passdb file
1 day 12 hours ago
using googles open dns 8.8.8.8 8.8.4.4
2 days 1 hour ago
Re: Re: Re: Re: I can't believe people are
2 days 3 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
Programming/Scripts
Apache and open a low socket?
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
21st September 2009, 23:00
edge
Moderator
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
Apache and open a low socket?
I'm trying to open a socket below 1024 with Apache2 and PHP.
Problem is that ports below 1024 can not be opened by Apache running as "nobody".
I could run Apache as root, but do not really want to do this (for obvious reasons)
Is there any other way to get Apache to open sockets below 1024?
The Following User Says Thank You to edge For This Useful Post:
nasanet
 (14th October 2009)
edge
View Public Profile
Send a private message to edge
Visit edge's homepage!
Find all posts by edge
Sponsored Links
#
2
22nd September 2009, 16:15
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
You cannot run Apache as root (unless you compile it with some special options) - that's a security measure.
I'm not sure how this can be done...
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
The Following User Says Thank You to falko For This Useful Post:
nasanet
 (14th October 2009)
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
3
22nd September 2009, 17:08
edge
Moderator
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
For now I've created an iptable to redirect the "low" port to a "high" one, and it looks like it's working :-)
The Following User Says Thank You to edge For This Useful Post:
nasanet
 (14th October 2009)
edge
View Public Profile
Send a private message to edge
Visit edge's homepage!
Find all posts by edge
#
4
10th October 2009, 07:53
mdjhomes
Junior Member
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Thanks for this site very helpful.
The Following User Says Thank You to mdjhomes For This Useful Post:
nasanet
 (14th October 2009)
mdjhomes
View Public Profile
Send a private message to mdjhomes
Find all posts by mdjhomes
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded 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
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Apache 2 will not start. Unable to open logs
auMark
Installation/Configuration
19
15th September 2011
09:20
apache wont start after deleting a site
tellar
Installation/Configuration
1
2nd October 2008
15:34
Apache won't start: "Too many files error"?
bpmee
Server Operation
4
31st July 2007
13:37
Apache default page can't be visited
satimis
Server Operation
2
6th April 2007
11:55
Howto suggestion suse PhP ver 4 + Ver 5
wwparrish
Suggest HOWTO
11
7th August 2006
13:29
All times are GMT +2. The time now is
22:43
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
20 hours 19 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 12 hours ago
2 days 1 hour ago
2 days 3 hours ago