Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About ajoo

  • Rank
    Prolific Member

Recent Profile Visitors

8,018 profile views
  1. Hi Kicken and Requinix, I will revert once I get it working. Thank you both.
  2. Hi Requinix ! Some correction and some more info here in the new diag. PC1 is a windows machine. The VM's MASTER and SERVER get their static IP addresses from the vagrant file wherein they are set. PC1 and PC2 have the IP addresses as shown. PC2 is connected via lan and PC1 via wifi to the modem. The zone setting of VM SERVER is DMZ. I chose it to be DMZ since I thought that would be appropriate for the local network. The services running on VM SERVER are ssh and http. port 80 is open. See below. dmz (active) target: default icmp-block-inversion: no interfaces: eth0 eth1 sources: services: http ssh ports: 3306/tcp 80/tcp 443/tcp protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: The settings do expose the ports but I wonder if they are required as the site is to be accessed only locally. I hope this can help you and other to suggest a workable solution for me to try out. Thanks loads !
  3. Hi ! I have the following setup in my office ! ( small office 🙂) PC2 is connected to the network via cable. PC1 is connected via wifi. The ip addresses are as shown. VM Master and VM Server are created via vagrant. VM server serves the website which I can access on PC1. The host entry on widows is mysite.com. I tried to access the website on PC2 using a same entry in the hosts file on PC2, but I am unavle to access my website on PC2. Please can someone suggest what must I do to be able to access mysite.com on PC2 as well as any other machine on the N/W. Thanks loads !
  4. Thanks for the clarification requinix. 👍
  5. It was in the comments somwehere on stackflow. I am not sure I would be able to find it again. If I do find it I will definitely send a link to it. But you may kindly tell if that would be incorrect or not. Thanks.
  6. Hi Requinix, Thanks for the response and the idea of JSON ! I did read that it's not a great idea to use JSON for smaller bits of data. Any comments on that ? I'll work it through though. Thanks.
  7. Hi Kicken ! Thanks for the response. I have done something like what you are suggesting and it works. However I was wondering, since it would be a common issue with AJAx calls, that there would be maybe a "proper" way of handling blank strings that need to be interpreted as arrays on php side of things. Though my code works but does seem a bit of a hack. Thanks again.
  8. Hi all ! What would be the best way to identify and handle an empty array sent from JS to PHP? This rather simple looking problem has resulted in a lot of confusion to me. $_POST['myArray'] = ""; // an empty string -- this is how the empty array from JS is received in PHP Thanks !
  9. Hi requinix, Yes I am running apache but xsendfile isn't a native module. If it can be installed, then how can it be installed? I don't see the module files on laragon as i generally do on a VM. I think it has modules compressed into an so or something. I am not sure. Please see below the contents of the modules folder in laragon at etc/apache/modules . . Thanks !
  10. Hi, Is anyone aware if it's possible to add / install apache modules to Laragon ? I wanted to add the xsendfile module to it if it's possbile to do so. Thanks.
  11. hmm, 👍 Thank you.
  12. Thanks requinix, So while I got this working, strangely I still have httpd -t -c httpd.conf give the following :- and the file at is neither empty nor missing and is also the right format. Incidentally, this same certificate I used in my windows 10 that gave the lock. Also shouldn't a syntax error cause the server to not restart or reload? Any suggestions how this can be further invetigated? Anything else that I look into ? My logs, all of them are set to warn and were totally clear. Thanks loads !
  13. Hi, could you please suggest where i may begin checking on my server? Thanks
  14. Hi ! SO i got the certificate to my windows machine and installed it. The hosts file on the machine has an entry for my locally hosted website. And while I got the padlock I got a 404 error message. I'ld like to mention that I am using vagrant to spin up 2 machines for me, a host and a server. I then use the host to setup the server using ansible. Thus my server is twice removed from my windows machine. I then copied the keys as suggested by requinix from the server to my windows machine and got the result shown above. I hope someone can suggest what issues could be causing this 404 error. Thanks !
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.