M
M
Mikhail Lebedev2020-07-17 04:11:54
xampp
Mikhail Lebedev, 2020-07-17 04:11:54

How to transfer project folder to dropbox in XAMPP (macOS Catalina)?

what do i do:

httpd.conf:

<IfModule unixd_module>
    User username
    Group daemon 
</IfModule>


httpd-vhosts.conf:
#Virtual hosts                  
Include etc/extra/httpd-vhosts.conf


httpd-vhosts.conf:
#localhost
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot "/opt/lampp/htdocs"
    <Directory "/opt/lampp/htdocs">
        Options Indexes FollowSymLinks Includes execCGI
        AllowOverride All
        Allow From All
        Order Allow,Deny
    </Directory>
</VirtualHost>

#My custom host
<VirtualHost *:80>
    ServerName site.local
    DocumentRoot "/Users/username/Dropbox/sites"
    <Directory "/Users/username/Dropbox/sites">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog "logs/site.local-error_log"
</VirtualHost>


etc/hosts
#XAMPP    VirtualHost
127.0.0.1        site.local


=> localhost / site.local = Safari can't open the page “‎localhost / site.local” because Safari can't connect to the server “localhost / site.local”.

everything seems to be done according to the manual - everything seems to have worked on the previous makosi.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question