<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On fedora, your Apache configuration is in
/etc/httpd/conf/httpd.conf. <br>
<br>
From the command line, do a:<br>
<br>
dig localhost<br>
<br>
And see if it comes back to 127.0.0.1. If not, then edit /etc/hosts
and add:<br>
<br>
127.0.0.1 localhost<br>
<br>
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.<br>
<br>
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:<br>
<br>
/srv/www/mysite.com/pubilc_html<br>
/srv/www/mystie.com/logs<br>
<br>
That keeps everything nice and separated.<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 7/3/2011 2:29 PM, chetan patil wrote:
<blockquote
cite="mid:CAF0dY_smbKPUo=PYZYUU90Lbiy2eRYBkmhN0iUoaiKAKYezGEw@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Sun, Jul 3, 2011 at 11:36 PM, Dave
Stevens <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:geek@uniserve.com">geek@uniserve.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">Quoting chetan patil <<a
moz-do-not-send="true" href="mailto:chtpatil@gmail.com"
target="_blank">chtpatil@gmail.com</a>>:<br>
<br>
</div>
<div class="im">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
On Sun, Jul 3, 2011 at 11:18 PM, Jeff <<a
moz-do-not-send="true" href="mailto:jeff@wildcoast.com"
target="_blank">jeff@wildcoast.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
On 03 Jul 2011, at 7:14 PM, chetan patil wrote:<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
localhost doesn't work.<br>
but 127.0.0.1 works and I get Apache Fedora test
page.<br>
locahost should work as it equals to 127.0.0.1<br>
<br>
<br>
or "localhost/install.php" as URL?<br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">
<br>
<br>
</blockquote>
This also not working.<br>
<br>
<br>
<br>
</blockquote>
what is the output of "ls /var/www/html"<br>
<br>
</blockquote>
<br>
Null.<br>
No output.<br>
<br>
<br>
<br>
Where is Drupal installed?<br>
<br>
You should place it either in the root directory of the
web server, or in a<br>
sub-directory like /var/www/html/drupal-7.4.<br>
<br>
Files i moved to /var/www/<br>
</blockquote>
</blockquote>
<br>
<br>
</div>
nope, has to be in the /var/www/html folder<br>
<br>
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
<div>
<div class="h5"><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Then tell me which document should i follow properly.</div>
<div>In INSTALL.txt also it's not written to move in
/var/www/html, it says to move</div>
<div>it to path for installation.</div>
<div>I think I'm not following correct stuff.</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>
<div class="h5">
<br>
D<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
[chetanpatil@chetanpatil ~]$ ls /var/www/<br>
authorize.php icons INSTALL.txt
README.txt usage<br>
cgi-bin includes LICENSE.txt
robots.txt web.config<br>
CHANGELOG.txt index.php MAINTAINERS.txt
scripts xmlrpc.php<br>
COPYRIGHT.txt INSTALL.mysql.txt manual
sites<br>
cron.php INSTALL.pgsql.txt misc
themes<br>
error install.php modules
update.php<br>
html INSTALL.sqlite.txt profiles
UPGRADE.txt<br>
[chetanpatil@chetanpatil ~]$<br>
<br>
.htacess is present too.<br>
<br>
i also followed this:: <a moz-do-not-send="true"
href="http://fedoraproject.org/wiki/How_to_install_Drupal"
target="_blank">http://fedoraproject.org/wiki/How_to_install_Drupal</a><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Then it should be available at <a
moz-do-not-send="true"
href="http://localhost/drupal-7.4" target="_blank">http://localhost/drupal-7.4</a>.
Or in your<br>
case <a moz-do-not-send="true"
href="http://127.0.0.1/drupal-7.4" target="_blank">http://127.0.0.1/drupal-7.4</a>.<br>
<br>
no effect. i have tried.<br>
</blockquote>
do we get this after running the script.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
If it is working for the IP but not the hostname
perhaps you could try<br>
flushing your browser cache.<br>
<br>
In any case, you should preferably add an entry to the
hosts file (like<br>
mydrupal, for example) and add a virtualhost entry in<br>
/etc/apache2/sites-available/ and enable it.<br>
<br>
<br>
</blockquote>
/etc/apache not present.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Good luck.<br>
<br>
<br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
<br>
</blockquote>
<br>
<br>
<br>
--<br>
Chetan Arvind Patil,<br>
+919970018364<br>
<br>
</blockquote>
<br>
<br>
<br>
</div>
</div>
<div>
<div class="h5">
-- <br>
"It is no measure of health to be well adjusted to a
profoundly sick society."<br>
Krishnamurti<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Chetan Arvind Patil,<br>
+919970018364<br>
<br>
<br>
<br>
</blockquote>
</body>
</html>