Default Apache Page - Fedora Core

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Okay so awhile ago I set up my linux box with fedora core. I install apache and PHP. Now when I go do my address I get a fedora care page that says I need to add a file to my var/www/html I did that and it still shows the page. Any idea?

Here is what it says.


Quote:
You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.


I commented out the lines in welcome.conf and all that did was make it so apache wouldnt start.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

just delete their content. i dont remember where its located, but its the stuff that you didn't create. lol usually it'll have some apache images and then index.### with a couple different ext's
  • MolbO
  • Born
  • Born
  • MolbO
  • Posts: 1

Post 3+ Months Ago

did you have index.html?
and is this readable by apache(rigth group, permission)?
and have it rigth place ?
  • vijayan
  • Beginner
  • Beginner
  • vijayan
  • Posts: 52
  • Loc: india

Post 3+ Months Ago

Hi,

if u have your own page in /var/www/html.
If u want own web page not test page then you want to do edit file in /etc/http/conf.d/welcome.conf in this file content is this as below:
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>


just this 4 line comment and restart http service thne go to browser type your linux ip.
Now you can see web page.

Vijayan
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

The page is in /var/www/html its a index.html page and I have tried to edit the welcome.conf file but when I do and I restart apache it fails and wont start. I looked at the permissions. Im not sure what to set it to though.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

did you delete their content?

usually doing so makes it default to whatever items you've placed in the /var/www/html folder. permissions shouldn't be an issue.
you'd probably want to look in /etc/httpd/conf/httpd.conf instead, especially for setting things like allowing the server to default to index.php if one exists, etc.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Sometimes I dont understand linux, well most of the time, anyways for some reason this time the server started up when I commented the welcome.conf file. So now when I go to my page it gives me a forbidden 403. I would think this is because of the permissions. I know what permissions I have to give to files using chmod but on the OS its self I have no idea.

Could this be a setting in the httpd.conf? Ive looked through it and havnt found anything that stands out.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

yea..
it sounds like its regular people's http requests.
are you trying to access it locally or from the internet?
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Locally and from the internet through DynDNS

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 29 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.