Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 10:35:54

Author Topic: Default apache directory  (Read 2209 times)

0 Members and 1 Guest are viewing this topic.

Offline Meister

  • Junior Member
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Default apache directory
« on: 2014-10-20, 16:02:02 »
Hello,

Where can I find the default apache directory ?
When I go to http://My-IP/ it gives me a "404 Not Found" error,

I tried to add new files to : /home/kloxo/httpd/default ; /home/kloxo/httpd : /home/admin ; /var/www/html
but it always give me the 404 error !

How can I fix this ?

thanks

Offline Meister

  • Junior Member
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Default apache directory
« Reply #1 on: 2014-10-20, 21:09:20 »
I checked the apache error log, and I found this :
[Mon Oct 20 15:04:17 2014] [error] [client my ip] File does not exist: /etc/httpd/htdocs

I created the /etc/httpd/htdocs directory, and now I can access http://server-ip/file
Is this a kloxo configuration problem ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Default apache directory
« Reply #2 on: 2014-10-21, 03:08:45 »
You can't access your domain via http://IP/ except you must assign IP to certain domain (this IP will not able to other domain; need more than 1 IP in server).

Try http://IP/~admin if you want access website for default domain of admin user. The same way for other user/client.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Meister

  • Junior Member
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Default apache directory
« Reply #3 on: 2014-10-22, 00:00:13 »
Hi, thanks for your reply.
Until now, I didn't add any domains.

Even when I go to http://Server-IP/~admin/ , I get a 404 error !
Means apache is not configured correctly !
I tried /script/fil-all , but I'm getting the same problem.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Default apache directory
« Reply #4 on: 2014-10-22, 03:11:01 »
Inform here your 'sh /script/sysinfo; sh /script/fixweb'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.074 seconds with 22 queries.

web stats analysis