Resolved.
On fedora, your Apache configuration is in /etc/httpd/conf/httpd.conf.
From the command line, do a:
dig localhost
And see if it comes back to 127.0.0.1. If not, then edit /etc/hosts and add:
127.0.0.1 localhost
Depending on your browser, you might have to clear the cache. Firefox is pretty bad at DNS caching. There is a plugin for Firefox where you can click and clear it.
You can also add VirtualHosts to your httpd.conf. There's examples at the bottom of httpd.conf showing you how. Generally on all Fedora/RHEL/CentOS servers, I usually host everything out of /srv/www, so I have a structure like this:
/srv/www/mysite.com/pubilc_html
/srv/www/mystie.com/logs
That keeps everything nice and separated.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/3/2011 2:29 PM, chetan patil wrote:
On Sun, Jul 3, 2011 at 11:36 PM, Dave Stevens <geek@uniserve.com> wrote:
nope, has to be in the /var/www/html folderOn Sun, Jul 3, 2011 at 11:18 PM, Jeff <jeff@wildcoast.com> wrote:
On 03 Jul 2011, at 7:14 PM, chetan patil wrote:
localhost doesn't work.what is the output of "ls /var/www/html"
but 127.0.0.1 works and I get Apache Fedora test page.
locahost should work as it equals to 127.0.0.1
or "localhost/install.php" as URL?
This also not working.
Null.
No output.
Where is Drupal installed?
You should place it either in the root directory of the web server, or in a
sub-directory like /var/www/html/drupal-7.4.
Files i moved to /var/www/
in /etc you'll find a file called http.conf and in there is a line setting the "document root" that's where the drupal stuff has to be unpacked
Then tell me which document should i follow properly.In INSTALL.txt also it's not written to move in /var/www/html, it says to moveit to path for installation.I think I'm not following correct stuff.
D
[chetanpatil@chetanpatil ~]$ ls /var/www/
authorize.php icons INSTALL.txt README.txt usage
cgi-bin includes LICENSE.txt robots.txt web.config
CHANGELOG.txt index.php MAINTAINERS.txt scripts xmlrpc.php
COPYRIGHT.txt INSTALL.mysql.txt manual sites
cron.php INSTALL.pgsql.txt misc themes
error install.php modules update.php
html INSTALL.sqlite.txt profiles UPGRADE.txt
[chetanpatil@chetanpatil ~]$
.htacess is present too.
i also followed this:: http://fedoraproject.org/wiki/How_to_install_Drupal
Then it should be available at http://localhost/drupal-7.4. Or in yourdo we get this after running the script.
case http://127.0.0.1/drupal-7.4.
no effect. i have tried.
If it is working for the IP but not the hostname perhaps you could try/etc/apache not present.
flushing your browser cache.
In any case, you should preferably add an entry to the hosts file (like
mydrupal, for example) and add a virtualhost entry in
/etc/apache2/sites-available/ and enable it.
Good luck.
--
[ Drupal support list | http://lists.drupal.org/ ]
--
Chetan Arvind Patil,
+919970018364
--
"It is no measure of health to be well adjusted to a profoundly sick society."
Krishnamurti
--
Chetan Arvind Patil,
+919970018364
--
[ Drupal support list | http://lists.drupal.org/ ]