Click here to Skip to main content
15,887,246 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Why my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 3:50
Member 1399562824-Sep-18 3:50 
GeneralRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 4:57
Graham Breach24-Sep-18 4:57 
AnswerRe: Why my field returns boolean instead of object? Pin
SiFinances28-Oct-18 0:52
SiFinances28-Oct-18 0:52 
Questionhow to find daily cash book record from two tables with php mysql Pin
Faruk Web10-Aug-18 21:46
Faruk Web10-Aug-18 21:46 
QuestionGet data attribute from an array of select box Pin
Member 85505912-Aug-18 16:23
Member 85505912-Aug-18 16:23 
QuestionHow to allow access to a yii web application for specific users using .htaccess Pin
Member 139352711-Aug-18 23:20
Member 139352711-Aug-18 23:20 
AnswerRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 0:40
mveRichard MacCutchan2-Aug-18 0:40 
AnswerRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 1:31
mveRichard MacCutchan2-Aug-18 1:31 
Member 13935271 wrote:

Message from Member 13935271 <jamess@integrity-foundation.org>:

Internal network meaning?

.htaccess sees only public IP

The application which we are developing will be hosted on a VPS server on a domain. Now it will be online, anybody can access it using the domain name. Now I want that only our office employees should be able to see or access this application using this domain.

Basically I want that i need to pre define their IP in .htaccess file in allow section. I want to allow only these IP and deny all.(meaning only our organizations employees will have access to this application)

So should I specify their public IP in .htaccess? Does this IP change from network to network?

I have no idea how your network is set up. But basically you need to allow access from any IP address owned by your allowed users. If they are on your internal network (192.168.1. addresses) then as I described. If external then you need to specify their external addresses. Check with your network administrator to be sure.

Note: Please use the "Reply" button, so your message is publicly visible.
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 139352712-Aug-18 1:35
Member 139352712-Aug-18 1:35 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 3:49
mveRichard MacCutchan2-Aug-18 3:49 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 1393527114-Aug-18 1:02
Member 1393527114-Aug-18 1:02 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 1393527114-Aug-18 1:02
Member 1393527114-Aug-18 1:02 
QuestionHow Can I Start Learning PHP Pin
Andre Hoss3-Jul-18 7:03
Andre Hoss3-Jul-18 7:03 
AnswerRe: How Can I Start Learning PHP Pin
Richard MacCutchan3-Jul-18 8:27
mveRichard MacCutchan3-Jul-18 8:27 
AnswerRe: How Can I Start Learning PHP Pin
Member 1501179923-Dec-20 7:29
Member 1501179923-Dec-20 7:29 
Questionphp-mysql Pin
Raja Jee2-Jul-18 18:38
Raja Jee2-Jul-18 18:38 
AnswerRe: php-mysql Pin
Richard MacCutchan2-Jul-18 21:09
mveRichard MacCutchan2-Jul-18 21:09 
Questiontrying to get ipn simulator to work.... Pin
piano001126-Jun-18 1:35
piano001126-Jun-18 1:35 
AnswerRe: trying to get ipn simulator to work.... Pin
Richard MacCutchan26-Jun-18 2:07
mveRichard MacCutchan26-Jun-18 2:07 
QuestionHow to run .html file as default then will run .php of wordpress in same folder by using .htaccess Pin
Member 1388249624-Jun-18 23:32
Member 1388249624-Jun-18 23:32 
Rant[REPOST] How to run .html file as default then will run .php of wordpress in same folder by using .htaccess Pin
Richard Deeming25-Jun-18 7:32
mveRichard Deeming25-Jun-18 7:32 
QuestionHow can I set the timestamp to 0? Pin
piano001114-Jun-18 2:38
piano001114-Jun-18 2:38 
Questionhow to add multiple sql queries? Do I need to join two queries? Pin
piano001110-Jun-18 17:50
piano001110-Jun-18 17:50 
Questionwhat is the difference between mysqli_stmt_num_rows and mysqli_num_rows? Pin
piano001110-Jun-18 17:49
piano001110-Jun-18 17:49 
AnswerRe: what is the difference between mysqli_stmt_num_rows and mysqli_num_rows? Pin
ishan_shah9-Mar-21 17:50
ishan_shah9-Mar-21 17:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.