Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ apache24 (PHP 7) ][ 2.4.37.0 ] Web Server
#71
How Apache Starts

If the Listen specified in the configuration file is default of 80 (or any other port below 1024), then it is necessary to have root privileges in order to start apache, so that it can bind to this privileged port. Once the server has started and performed a few preliminary activities such as opening its log files, it will launch several child processes which do the work of listening for and answering requests from clients. The main httpd process continues to run as the root user, but the child processes run as a less privileged user. This is controlled by the selected Multi-Processing Module.

https://httpd.apache.org/docs/2.4/invoking.html
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#72
x64 updated to 2.4.37.0
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#73
thks.
one first page u did a typo in version number by download link(2.4.34.0) but actual download is correct(2.4.37.0).
Reply
#74
thx. i fixed it
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#75
Next update can u plse add the php-mbstring extension.
thks.
Reply
#76
is there already
Just enable it by editing php.ini and uncomment this line
Code:
#extension=mbstring.so
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
[-] The following 1 user says Thank You to outkastm for this post:
  • Blackbear199
Reply
#77
thks.
i looked but missed it.
Reply
#78
Hello Outkastm, just installed your apache and mariadb packets, works like a charm!
Thanks for your work!
I have been trying to password protect htdocs2 with .htaccess(gives a access error but doesnt ask for credentials) and directly in the directory block(doesn't seem to change anything) in httpd2.4.conf but without success. Where can I find info on this subject, also would like to know how I can get SSL to secure the connection, doesn't have to be signed necessarely.
Reply
#79
connect with SSH and create a folder to store the .htpasswd file

Code:
mkdir -p /raid/data/ServerAccess

Create a file .htaccess in htdocs2 folder to look like this

Code:
AuthType Basic
AuthName "Restricted access"
AuthUserFile /raid/data/ServerAccess/.htpasswd
require valid-user

Use the htpasswd command to create a password file called .htpasswd in /raid/data/ServerAccess

Code:
cd /raid/data/ServerAccess
/raid/data/module/apache24/sys/bin/htpasswd -c .htpasswd memberone

Type the password -- memberonepassword -- twice as instructed.

That's the setup done. Now test by trying to access htdocs2 and your browser should demand a username and password, and not give you access if you don't enter memberone and memberonepassword.

For SSL acces just access the site with https://yourip:449
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)