Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Suggestions > Topic : Apache Virtual Host Configuration - too complex - suggestion



Normal Mode | Print  

 Apache Virtual Host Configuration - too complex - suggestion (5 Replies, Read 368626 times)
keithy
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote
UseCanonicalName Off

VirtualDocumentRoot {$path}/www/%0

DirectoryIndex start.xhtml index.html

<Directory "{$path}/www/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


Whenever I have set up multiple websites on a single server this is (approximately) ALL of the config that I have ever needed. I am trying to adopt this in AMPPS, but I am not fully understanding the apparently over complicated setup that AMPS uses.

Virtualhost names are placed into /etc/hosts as 127.0.0.1 www.myserver.com for local development or left to dns for using in a deployed scenario.

Each host has a directory under {$path}/www/, e.g. www/www.myserver.com/... which under my scheme would work, but does not appear to work at all with the original AMPPS set up out of the box.

Can you help me understand why AMPPS doesn't use this much simpler approach out of the box?
IP: --   


Threads
 keithy   Apache Virtual Host Configuration - too complex - suggestion (5 Replies, Read 368626 times)
    |--  keithy   Ok, as long...   on April 7, 2017, 10:57 pm
    |--  keithy   My latest incarnation...   on April 8, 2017, 6:13 pm
    |--  olind   I'm just trying...   on October 1, 2018, 9:07 am
    |--  princeofnaxos   I fully agree!...   on November 15, 2018, 8:21 am
    |--  paxtonleiny   I’m just setting...   on October 26, 2023, 10:51 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 31, 2024, 11:04 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.026