Solved

How to find drupal installation path and administrator interface?

Posted on 2015-02-09
7
78 Views
Last Modified: 2015-03-20
I am helping my developer for some virtual hosts issue. I don't know where I can find the installation folder for drupal. Also, when I tried to open the administrator's webpage, it gave me access denied error.

Please help.

here i am attaching the httpd.conf file.
httpd.conf.txt
default.settings.php
0
Comment
Question by:Jason Yu
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 40600612
Drupal is usually installed in the web root for the domain. It will contain index.php, cron.php, install.php, and several other files and directories.

To access the admin area, visit example.com/user to log in with your administrator credentials. Once logged in you will be able to access example.com/admin
0
 

Author Comment

by:Jason Yu
ID: 40606961
I have four sites configured one this server. the apache configuration file is at /etc/httpd/conf/httpd.conf.

The content in this file is as below:

<VirtualHost *:80>
    ServerAdmin ktan@lacare.org,bhoang@lacare.org
    DocumentRoot /var/www/lac2014/html
    ServerName devw.lacare.org
    ServerAlias devw dorrington.lacare.org dorrington
    <Directory "/var/www/lac2014/html">
      AllowOverride All
    </Directory>
    ErrorLog /var/www/lac2014/logs/error.log
    #`CustomLog /var/log/httpd/access.log
</VirtualHost>

<VirtualHost *:80>
   ServerAdmin ktan@lacare.org,bhoang@lacare.org
   DocumentRoot /var/www/duals/html
   ServerName devcal.lacare.org
   ServerAlias  devcal
   ErrorLog /var/log/httpd/error.log
   <Directory "/var/www/duals/html">
     AllowOverride All
   </Directory>
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot /var/www/devcov/html
    ServerName devcov.lacare.org
    ServerAlias devcov
    <Directory "/var/www/devcov/html">
      AllowOverride All
    </Directory>
   ErrorLog /var/www/logs/devcov_error.log
</VirtualHost>
<VirtualHost *:80>
 DocumentRoot /var/www/html
  ServerName devleg.lacare.org
  ServerAlias devleg
  ErrorLog /var/www/logs/legacy_error.log
</VirtualHost>

Open in new window


After I set up, I am able to open the first  and the last virtual websites. but the second one and third one don't open. How could I trouble shoot for this?

This webserver is a clone of the production one. Do you think it's a database problem? Can I dump the database for each website to a sql file and import it into the one on the test server.

Thanks.
0
 

Author Comment

by:Jason Yu
ID: 40606986
when I tried to access the install.php script for the site devcov.lacare.org/install.php, it doesn't show anything.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 13

Expert Comment

by:Arrow_1
ID: 40607065
I think you are asking a different question now... did you find the Drupal installation directory?
0
 

Author Comment

by:Jason Yu
ID: 40608067
yes, it's under /var/www
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 40608113
That seems wrong. It should be /var/www/devcov/html if devcov.lacare.org is the site you are using.
0
 

Author Comment

by:Jason Yu
ID: 40608333
HI, Arrow, thank you for your help. I got it resolved by removing .htaccess file.

May I ask what this file for? If I want to learn how to configure this file, where can I learn?

thanks.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add links to content type Drupal 7 6 350
Code for dynamic copyright on website? 4 253
Creating a Drupla ecommerce website. 4 193
Customing the Edit Node Experience? 1 164
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question