Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-13-2003, 05:11 PM
|
#1
|
Member
Registered: Oct 2002
Location: Malaysia
Posts: 106
Rep:
|
Apache default page??
Hi,
One of the domain is showing the Apache default page instead of the index file in the root folder.
The domain is working well before this.Any ideas ?
|
|
|
07-13-2003, 07:34 PM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Do you have:
DocumentRoot
Set to the correct location? Do you have mod_autoindex and mod_dir loading? Do you have:
Code:
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
below that?
Cool
|
|
|
07-13-2003, 07:49 PM
|
#3
|
Member
Registered: Oct 2002
Location: Malaysia
Posts: 106
Original Poster
Rep:
|
Hi MasterC,
Just found the cause.It is due to missing entry in the httpd.conf file.  My careless mistake ...
Sorry for any inconveniences !
|
|
|
07-13-2003, 08:55 PM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
No problem, answering questions on here is definitely not an inconvenience  Glad you figured it out.
Cool
|
|
|
07-15-2003, 08:31 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Rep:
|
editing the auto index file from apache webserver
is ther a way to edit the autoindex-HTML file for spezial folders
with php i get error messages
Quote:
Warning: main(bilder/index.html): failed to open stream: No such file or directory in ...
|
|
|
|
07-16-2003, 01:22 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Most likely. I'm sure Apache has documentation on it, but here's my stab. Use a <Directory> Directive, with the <IfModule> inside, so something like:
<Directory /bilder>
<IfModule mod_autoindex.c>
IgnoreIndex .php
</IfModule>
</Directory>
More info can be found:
http://httpd.apache.org/docs/mod/mod_autoindex.html
Cool
|
|
|
07-16-2003, 02:57 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Rep:
|
Quote:
Originally posted by MasterC
Most likely. I'm sure Apache has documentation on it, but here's my stab. Use a <Directory> Directive, with the <IfModule> inside, so something like:
<Directory /bilder>
<IfModule mod_autoindex.c>
IgnoreIndex .php
</IfModule>
</Directory>
More info can be found:
http://httpd.apache.org/docs/mod/mod_autoindex.html
Cool
|
i want not to ignore a index.php file
i will add data to index.html files from spezial folders
like the download page from the Apache server
http://apache.serveftp.org/apache-site/dist/httpd/
( for ftp servers you can use a change dir message (like for g6ftp) )
anyway thx for the link
Last edited by KOmaSHOOTER; 07-16-2003 at 03:13 AM.
|
|
|
All times are GMT -5. The time now is 06:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|