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
Hardware Hacks: Onion Pi, DesignSpark and Arduino control boards
Ubuntu phone OS has eight carriers signed on to boost development
How to read 2 files alternatively line by line
Linux Foundation Sponsors IT Training Scholarship
Bridge 2013.06 Screenshot Tour
Ubuntu phone OS forms international Carrier Advisory Group
Linux Professional Institute revises objectives for LPIC-2 and LPIC-3 Linux certification programs
In-Fighting Continues Over Mir On Non-Unity Ubuntu
France and Germany launch open source collaboration
Webconverger 20 out now
more
Recent comments
Re: ISPconfig access with or without ip !!!
1 day 3 hours ago
Is same HowTo available for
1 day 6 hours ago
Re: clarification on Kompozer instructions
1 day 18 hours ago
LAMP installation
1 day 20 hours ago
NEED TO KNOW ABOUT PART 2
2 days 1 hour ago
Try this
2 days 7 hours ago
Thank you
2 days 16 hours ago
For nightningale, I would
2 days 18 hours ago
Help please with DNS
3 days 2 hours ago
Great! I came across this
3 days 4 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 135 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,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 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 135 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
02:04
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 3 hours ago
1 day 6 hours ago
1 day 18 hours ago
1 day 20 hours ago
2 days 1 hour ago
2 days 7 hours ago
2 days 16 hours ago
2 days 18 hours ago
3 days 2 hours ago
3 days 4 hours ago