Read the original article here: ourcodeworld.co... Please subscribe to our channel. For more awesome content visit ourcodeworld.com Music: Bensound.com Follow us on Twitter / ourcodeworld Like us on Facebook: / ourcodeworld
Пікірлер: 45
@OurCodeWorld6 жыл бұрын
To everyone that says that the page is still not secured because you get the warning of "Your connection is not private", is normal. The certificate that we are using is the default of xampp, so it is a *self signed certificate*, which won't be accepted by any browser as a legitime certificate. It can be still used for development purposes locally. To get rid off the message, just buy a legitime certificate issued by any CA, it can be as cheap as $4.95/Year according to your needs (ourcodeworld.com/articles/read/352/top-10-best-cheapest-ssl-certificates). If you are not willing to pay anything for a SSL certificate, there's a free option namely letsencrypt.org/ , however you will need to renew it very often. Important: the goal of the video is the same with a self-signed or an issued certificate, just change the path to the certificate and key file.
@NishanSaliya5 жыл бұрын
Thank you so much. Needed this for a local project and works well just as shown in video. Thanks again.
@workingTchr3 жыл бұрын
"As you can see we have a normal vhost configured to a Symphony project that can be accessed through http but not https". Lost me.
@tiornacoulibaly64644 жыл бұрын
Thank you! you just saved me from an ordeal
@WyzrdCat5 жыл бұрын
0:58 that button is not a thing...
@MEGAFERMAN2 жыл бұрын
i have a question, does this works for acces from remote? example my smartphone?
@arthurclass48087 жыл бұрын
Great video ,it worked ,thank you !!!
@F3lip9475 жыл бұрын
Dude, where the certificate should be configured?, on SSL config File from Apache or this other File? Please i need help, i cant enable SSL on Xamp for a public domain
@Archievald4 жыл бұрын
Tried this but apache won't restart anymore in xampp i got this error [Apache] Error: Apache shutdown unexpectedly. [Apache] This may be due to a blocked port, missing dependencies, [Apache] improper privileges, a crash, or a shutdown by another method. [Apache] Press the Logs button to view error logs and check [Apache] the Windows Event Viewer for more clues [Apache] If you need more help, copy and post this [Apache] entire log window on the forums
@nashi.t39653 жыл бұрын
Is this will work even if access from the internet?
@ricande6 жыл бұрын
When did you get secure? You only added an exception to your browser. You are still unsecured. That won't work... at all. You need a valid certificate for that.
@Asasing6 жыл бұрын
Thank you very much, very helpfull
@rafafawwaz91813 жыл бұрын
tysm, very helpful
@rifqiagung83507 жыл бұрын
Hi nice tutorial.. Ive follow all your instruction, i add virtual host 127.0.0.1:80 and port 443 and also in drivers/hosts. but i still get privacy error..
@OurCodeWorld7 жыл бұрын
Hi Rifqi, the privacy error will obviously still shown as your SSL certificate have been not issue by a CA. The certificate is self-signed, so the browser warns about it. You only need to skip that message and the project will work with HTTPS. Check out this comment on the article: disq.us/p/1kp01ee
@YLwong946 жыл бұрын
by default xampp not using any vhost, is it possible to install ssl without vhost?
@am346 жыл бұрын
I'm pretty sure that is just how you skip the error as opposed to fix it
@minepro12066 жыл бұрын
Muffled Music Exactly
@auricurvy6 жыл бұрын
The browser don't give the Add Exception option anymore so it's not possible to do this. Though it was informative, not working.
@hungchip3 жыл бұрын
not working! Erro 403 access dini
@nolialbay87486 жыл бұрын
Why i'm still receiving not secure on my browser?
@narendrakumarbiswal20234 жыл бұрын
worked for me for 127.0.0.5:05 port, as expected, but how u did for sandbox/page.php, it doesnot work if i use my application name in side htdocs app path: htdocs/ess/index.php Virtualhost: 127.0.0.5:85 when i use virtual host it is working as expected, but how will i give alias name like u did some thing alias name except , ip, or server name, completely an anonymous virtual name for my application to work on LAN
@7us3 жыл бұрын
If you're using Windows 10. Go to Windows/System32/drivers/etc Open the "hosts" file, and append to it the local ip for your project without the port number, and the name you want. example: 127.0.0.5 mysite.com the next time you visit mysite.com it will forward you to 127.0.0.5. it might require restarting your PC. stackoverflow.com/q/3660066
@dailysongsradio82026 жыл бұрын
I was expecting more. Like create a certificate
@zerocooling0016 ай бұрын
not working anymore
@butchiki057 жыл бұрын
not working, still not secure
@dk-gl6 жыл бұрын
Great video. I've subscribed you :)
@nolialbay87486 жыл бұрын
Does this tutorial work to you?
@stefonita7 жыл бұрын
It was helpful ! Thank you !
@farhanaizwani98907 жыл бұрын
Hi, I have a question, "127.0.0.2"
@OurCodeWorld7 жыл бұрын
Hi Farhana, Yes, it should target some localhost IP with an alias (usually configured in the hosts file of your operative System). If you don't have knowledge of virtual hosts, you won't probably understand totally what we've just made in the video. We recommend you to read first this question in Stack Overflow that will show you how to create a normal virtual host in Windows and UNIX based operative systems: stackoverflow.com/questions/27268205/how-to-create-virtual-host-on-xampp Once you understand how to setup a very basic Virtual Host with http, then you can follow our video to implement the httpS version of the same. Thanks for the comment !
@farhanaizwani98907 жыл бұрын
ok.... i already get the result.... btw.. tq so much for the information
@solehan176 жыл бұрын
how to enable vhost ?
@desipablo21462 жыл бұрын
not working
@homeuser31085 жыл бұрын
It's not an enabling SSL! It's a profanation!
@Gszada3 жыл бұрын
This fucked up my Xampp.. I don't recommend it..
@Fast5MTA6 жыл бұрын
Still 404 like 1:33 for me
@drabdullayev177 жыл бұрын
Can you give HTML code, please.
@OurCodeWorld7 жыл бұрын
Hi, to detect wheter the connection uses HTTP or HTTPS we use a little JavaScript snippet: paste2.org/28NUJb0P