Skip to main content
18 events
when toggle format what by license comment
Nov 24, 2016 at 10:06 history edited Vlastimil Burián CC BY-SA 3.0
restarting apache in the end
Nov 24, 2016 at 9:44 history edited Vlastimil Burián CC BY-SA 3.0
structure
Jun 8, 2016 at 18:56 comment added Eric Hermansson @burian.vlastimil I'll check it out, thanks for your answer :)
Jun 8, 2016 at 18:44 vote accept Eric Hermansson
Jun 8, 2016 at 18:44 comment added Eric Hermansson @burian.vlastimil So I tried what u said and it worked, many thanks! If I would like to do this on my subdomains, can I use the same VirtualHost but just change ServerName etc.?
Jun 8, 2016 at 18:38 comment added Eric Hermansson @burian.vlastimil Should I change the https://%{SERVER_NAME}/$1 to something specific or just leave it like that?
Jun 8, 2016 at 18:03 comment added Vlastimil Burián @RuiFRibeiro This code I use on my server. I am no expert on rewrites, always been busy not to learn it properly. If you are able to improve it, I would appretiate it.
Jun 8, 2016 at 17:58 history edited Vlastimil Burián CC BY-SA 3.0
added 35 characters in body
Jun 8, 2016 at 17:56 comment added Rui F Ribeiro Would not one RewriteCond rule be enough? It if is a new site, a RedirectPermanent is simpler and does the job.
Jun 8, 2016 at 17:51 history edited Vlastimil Burián CC BY-SA 3.0
added 61 characters in body
Jun 8, 2016 at 17:42 history edited Rui F Ribeiro CC BY-SA 3.0
deleted 32 characters in body
Jun 8, 2016 at 17:37 history edited Rui F Ribeiro CC BY-SA 3.0
deleted 32 characters in body
Jun 8, 2016 at 17:25 history edited Vlastimil Burián CC BY-SA 3.0
added 650 characters in body
Jun 8, 2016 at 17:17 comment added Rui F Ribeiro if he is getting that error, port 80 is not firewalled, as Apache is answering. The problem at the moment is that the vhost is not listening to port 80.
Jun 8, 2016 at 17:17 comment added Eric Hermansson Take your time! :)
Jun 8, 2016 at 17:16 comment added Eric Hermansson Thanks for your answer. Can you be more specific how I define a VirtualHost for port 80 and how I use mod_rewrite? Thanks!
Jun 8, 2016 at 17:12 history edited Vlastimil Burián CC BY-SA 3.0
added 27 characters in body
Jun 8, 2016 at 17:05 history answered Vlastimil Burián CC BY-SA 3.0