Re: accessing localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



redhat said:
> Scott Miller wrote:
>
>> Check your httpd.conf file, verify the default document root is
>> /var/www/html (could be something else)
>>
>> Here's a snap of where I put my document root - changed from
>> /var/www/html: (about a third of the way down)
>>
>> # This should be changed to whatever you set DocumentRoot to.
>> #
>> <Directory "/home/domains">
>> #
>> #
>>
>> After you are done reading the httpd.conf file, and find the document
>> root, upload an index.html file there, then:
>>
>> service httpd restart
>>
>> then opening a browser and typing:  localhost
>>
>> should bring up that page.
>>
>> Scott
>>
>
> ok, things are working correctly now.  It's even picking up the .php
> extension before the .html, which is what I want. Not sure what part did
> it.  The directory was set correctly.  I had 3 httpd.conf files -
> httpd.conf httpd.conf.bak httpd.conf.rpmnew
>
> I tried all three to no avail, then I saw your "service httpd restart"
> command and that worked, with the httpd.con.rpmnew in place of the
> httpd.conf.  I'll try it with the other two and see what happens.
>
> I think I probably hosed it via WEBMIN.   :-P
>

Not necessarily, perhaps you ran up2date and it installed a newer rpm?


jay
-- 


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux