Migrated Site Domains - Can't find /config/site.php - Installation is severely Broken
Permalink
Hi,
I just wanted to transfer my existing installation to a new site, and I seem to have broken all of the URLs associated.
I can't find the config/site.php anywhere, and I can't figure out where I need to make the changes.
At first, the new domain would just redirect to the old domain, but I changed the .htaccess to this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$https://www.mytechsolutions.net/$1... [R,L]
</IfModule>
#DirectoryIndex index.php
#RewriteEngine On
#RewriteBase /
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [L]
#AddType application/x-httpd-php .html .htmOptions +Indexes
#------HTTPS REDIRECT-----
#RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule .*https://mytechsolutions.net/%{REQUEST_URI}... [R,L
#------END HTTPS REDIRECT-----
#RewriteEngine On
#RewriteCond %{SERVER_PORT} !=443
#RewriteCond %{HTTP_HOST} ^(www\.)?mytechsolutions\.net$ [NC]
#RewriteRule ^$https://mytechsolutions.net%{REQUEST_URI}... [R,L]
Here's a dir listing:
$ dir
./ .last.inodes error_log
../ .lastlogin etc/
.HttpRequest/ .pki/ famax.txt
.MirrorSearch/ .razor/ index.php
.attracta/ .rnd index.php.LCK
.bash_history .softaculous/ logs/
.bash_logout .spamassassin/ mail/
.bash_profile .spamassassinboxenable myownclouddata/
.bashrc .spamassassinenable perl5/
.cagefs/ .ssh/ phpinfo.php
.cl.selector/ .trash/ public_ftp/
.contactemail .zshrc public_html/
.cpanel/ E43DD6A501C61059DA3F303D2330A3E6.txt robots.txt
.cphorde/ LICENSE.TXT softaculous_backups/
.ftpquota access-logs@ ssl/
.gemrc backup-5.21.2016_18-27-15_scaffhiz.tar.gz tmp/
.googleapps/ backup-7.1.2016_09-36-38_scaffhiz.tar.gz var/
.htaccess cache/ www@
.htpasswds/ cpbackup-exclude.conf
And here's my public_html dir:
$ dir
./ cgi-bin/ phpinfo.php
../ cloud/ policies/
.ftpquota concrete/ projects/
.htaccess error_log public_html_1.zip
Digital_Human/ famax.txt robots.txt
E43DD6A501C61059DA3F303D2330A3E6.txt forum/ scafidi.org/
LICENSE.TXT index.php school/
Media/ index.php.LCK shadows-rising/
Scafidi/ library/ site-master/
Scafidi454/ mytechsolutions.co/ store/
Videos/ njtest/ support/
_notes/ office/ updates/
application/ openings/ wiki/
careers/ packages/ workstation/
Here's the dir for the application:
dir
./ blocks/ files/ mail/ views/
../ bootstrap/ index.html page_templates/
_notes/ config/ index.html.LCK single_pages/
attributes/ controllers/ jobs/ themes/
authentication/ elements/ languages/ tools/
And for application/config:
]$ dir
./ app.php database.php generated_overrides/
../ concrete.php doctrine/ update.php
Any clues?
I just wanted to transfer my existing installation to a new site, and I seem to have broken all of the URLs associated.
I can't find the config/site.php anywhere, and I can't figure out where I need to make the changes.
At first, the new domain would just redirect to the old domain, but I changed the .htaccess to this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$https://www.mytechsolutions.net/$1... [R,L]
</IfModule>
#DirectoryIndex index.php
#RewriteEngine On
#RewriteBase /
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [L]
#AddType application/x-httpd-php .html .htmOptions +Indexes
#------HTTPS REDIRECT-----
#RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule .*https://mytechsolutions.net/%{REQUEST_URI}... [R,L
#------END HTTPS REDIRECT-----
#RewriteEngine On
#RewriteCond %{SERVER_PORT} !=443
#RewriteCond %{HTTP_HOST} ^(www\.)?mytechsolutions\.net$ [NC]
#RewriteRule ^$https://mytechsolutions.net%{REQUEST_URI}... [R,L]
Here's a dir listing:
$ dir
./ .last.inodes error_log
../ .lastlogin etc/
.HttpRequest/ .pki/ famax.txt
.MirrorSearch/ .razor/ index.php
.attracta/ .rnd index.php.LCK
.bash_history .softaculous/ logs/
.bash_logout .spamassassin/ mail/
.bash_profile .spamassassinboxenable myownclouddata/
.bashrc .spamassassinenable perl5/
.cagefs/ .ssh/ phpinfo.php
.cl.selector/ .trash/ public_ftp/
.contactemail .zshrc public_html/
.cpanel/ E43DD6A501C61059DA3F303D2330A3E6.txt robots.txt
.cphorde/ LICENSE.TXT softaculous_backups/
.ftpquota access-logs@ ssl/
.gemrc backup-5.21.2016_18-27-15_scaffhiz.tar.gz tmp/
.googleapps/ backup-7.1.2016_09-36-38_scaffhiz.tar.gz var/
.htaccess cache/ www@
.htpasswds/ cpbackup-exclude.conf
And here's my public_html dir:
$ dir
./ cgi-bin/ phpinfo.php
../ cloud/ policies/
.ftpquota concrete/ projects/
.htaccess error_log public_html_1.zip
Digital_Human/ famax.txt robots.txt
E43DD6A501C61059DA3F303D2330A3E6.txt forum/ scafidi.org/
LICENSE.TXT index.php school/
Media/ index.php.LCK shadows-rising/
Scafidi/ library/ site-master/
Scafidi454/ mytechsolutions.co/ store/
Videos/ njtest/ support/
_notes/ office/ updates/
application/ openings/ wiki/
careers/ packages/ workstation/
Here's the dir for the application:
dir
./ blocks/ files/ mail/ views/
../ bootstrap/ index.html page_templates/
_notes/ config/ index.html.LCK single_pages/
attributes/ controllers/ jobs/ themes/
authentication/ elements/ languages/ tools/
And for application/config:
]$ dir
./ app.php database.php generated_overrides/
../ concrete.php doctrine/ update.php
Any clues?