unicornrose
May 8 2005, 04:49 AM
| | Hi there.
When I creat html indexes they do not show up on my subdomains unless I directly link to them ie http://dark.unicornrose.com/index.html
I know I should be able to just link this way http://dark.unicornrose.com and the index show up. If you will go there you will see instead it shows the directory index. How do I get it to stop showing that?
Thank you very much!
Beth |
Reply
mizako
May 8 2005, 09:22 AM
Hi, I have subdomains and i did not have that problem. I guess should be something about permisions or a wrong configurartion in .httpaccess or in CPanel. Good Luck!
Reply
unicornrose
May 8 2005, 10:44 PM
It works with php indexes and modules that I have installed to a subdomain but it does not work with html indexes. Does anyone have some helpful advice?
Reply
clagnol
May 21 2005, 10:19 AM
I have two guesses for the origin of your problem: 1. You have two index files, like for instance, index.html and index.php in the same folder... or 2. Your .htaccess file specifies a file other than index.html as the index page. If index.php works, but index.html does not, then #2 can't be right. And I would think you'd notice that you had two indices if #1 were culpable. So this post has probably been of no help, but I can't think of any other explanation for that behavior.
Reply
unicornrose
May 24 2005, 02:24 AM
It is the only index in the folder....the index.html that is. I just double checked and the information in the .htaccess file reads following: Options All Indexes IndexOptions FancyIndexing And from the main .htaccess file: # # Apache/PHP/site settings: # # Protect files and directories from prying eyes: order deny,allow deny from all # Set some options Options All -Indexes Options +FollowSymLinks All -Indexes # Customized server error messages: ErrorDocument 404 /index.php # Set the default handler to index.php: DirectoryIndex index.php Is there anyhting that I should change?
Reply
Spectre
May 24 2005, 03:00 AM
There's your problem. 'DirectoryIndex' denotes which files will be used as a pre-defined directory index seperated by a space, in the order given (so if it's 'a b', then 'a' will be used first; if not found, 'b'). So you'll need to add index.html in there somewhere. Just in case you haven't figured that out yet.
Reply
clagnol
May 24 2005, 06:36 AM
If you plan on naming all of your index files "index.[whatever]", then you don't need this: CODE # Set the default handler to index.php: DirectoryIndex index.php
Without this code, "index.php" will still work as the index, and so will "index.html". Then there's the matter of this code: CODE # Customized server error messages: ErrorDocument 404 /index.php
This sends the browser back to "index.php" when the server can't find a page. If "index.php" doesn't exist, it will just show the default Apache 404 page. You might be able to add "index.html" after "index.php", like Spectre says you can do for the DirectoryIndex command, so that you can cover your bases, but I'm not sure about the syntax of this command. In my opinion, it is better to simply delete this so that your visitors get the 404 page. If I were at your site and I tried to access an unavailable page, I'd like to know what the problem was, rather than just being sent back to the index. My advice: delete all of the code I've quoted above. Best of luck.
Reply
Spectre
May 26 2005, 03:14 PM
Pre-defined index files (eg. index.html, index.php, etc) aren't automatically recognized by Apache. You have to specifically specify them with the DirectoryIndex directive in the httpd.conf file. However, .htaccess files (if enabled) overwrite entries in the configuration file. Whilst the DirectoryIndex is certainly useful, you do not need it to specify indexes that already exist in Apache's core configuration file. I'm not entirely sure of all existing entries on Trap17's server, but I do know that both index.html and index.php are present.
Reply
Similar Topics
Keywords : indexing subdomains index html- Html Tag For A Code Box
- Where You Put HTML Code For Your Users (4)
Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they
show you a code you can use for javascript and stuff like that. I would like to know the HTML code
for those boxes. Thanks in advance for your help....
Giving Out Subdomains
- (1)
Html To Php Convertor?
- (12)
Hey.I have made a simple website http://pakdir.com this is in html.But its very difficult to
update the html pages.I want to convert it to php site.But i dont know about php language ... is
there any "PHP website builder" ?? is there anyway to build a php website without knowledge of php ,
with the help of some program ? for example there is a frontpage for html etc.Please tell me any
solution?...
Help With Subdomains And Dns
- are Sub-Domains possible with threw the (16)
well, i searched for the forum for an answer specificly for me and didn't find one, so i was
wodnering if anyone could help me out with sub-domains. I have a .com domain at 1&1.co.uk, as i saw
it advertised/suggested in OpaQue's Signature. so. . .first of all, what is DNS? and is that
relelvent to me at all for this? secondly, i can only forward with my domain using the 1&1 control
panel, BUT is there a way to edit all that in trap17's control panel? because at the moment all
the pages of the website go under the same domain and if refreshed is hit then it go...
.php?id=html Not Working
- (15)
I use a single php file for all my tag decorations and image calling so that each page is lighter
and therefore isn't bogged down with the same repeated code over and over, which allows me not
only to much easier change my layout and design (as I often do) but once I've finally gotten it
up and working here, I realized none of the links work, I doubled, and triple checked them over and
over again to make sure I wasn't making a mistake. I swore trap17 supported php, so why
isn't it working? Am I missing some sorta code that i need to add, or need to take a...
Add-on / Parked / Subdomains?
- (3)
what's the difference between Add-on / Parked / Subdomains? /sad.gif"
style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Is parked just where the
website isn't being made yet and subdomain is with the subdomainurl.mainsite.extension Add-on
domains are where i'm confused I tried adding www.gnarfard.com www.vitachoconutriment.com and
www.ekaiyo.com to my domain but it says they got added as add-on domains but the urls are
gnarfard.metaknight.com, vitachoconutriment.metaknight.com and ekaiyo.metaknight.com... Are the
subdomains the same t...
Css Problem On Website
- I've uploaded the html/css files but the css isn't working/ (8)
Help? I've uploaded all of the html files and css files into the public_html folder , but the
css isn't taking effect. I've checked both the css and te html files , nothing wrong with
them. Halp me? www.genesis.trap17.com/home.html /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" />...
Www Vs. Public_html [resolved]
- (3)
I didn't know where to post this..... this category seemed about as good a fit as there was. on
most webservers (my trap 17 one included), there is a public_html folder and a www folder, anything
uploaded into one also gets put in the other. so i am wondering what is the point of both of these
folders? can someone tell me why each one exists?...
Html Editor Glitch
- (7)
Three times I've tried using HTML Editor to edit my index.html page and the first 2 times it
instantly deleted all the page's coding and replaced it with the word "undefined". I noticed
the 3rd time after editing a page it gives the following message: QUOTE
%2fhome%2fjoshua%2fpublic_html/index.html File Saved
-------------------------------------------------------------------------------- open index.html
failed: Permission denied at cpanel.pl line 469 Carp::croak('open index.html failed: Permission
denied') called at /usr/local/cpanel/Cpanel/Fi...
Site Management Tools: Look Before You Leap!
- The danger of using Index Manager and other .htaccess altering tools.. (3)
A few minutes ago I was looking at site management tools section in my Control Panel. The tool
"Index Manager" caught my eye. If I used it, then I wouldn't need to create placeholder pages in
my folders with no index pages /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" /> What I had forgotten is that I already had an .htaccess file in my site.
Needless to say, enabling this option took down my whole site instantly and displayed an "Internal
Server Error" message. How stupid of me! /wacko.gif" style="vertical-align:middle" em...
Index
- (1)
Okay, that might be a stupid question, which it probably is. I apologise in advance, but I
couldn't find answer to it in the manual. I hava a website basis that I've already uploaded,
but I cannot access any of the pages on it - when I go to http://studentunion.trap17.com/ I get
the screen with congradulations, not my starting page, although I followed the instructions on the
page. When I manually try to access the index.php file through the address bar - it says that the
file does not exist although I gave all the necessary permissions for anyone to view it. H...
Can't Edit Index
- in file manager (3)
when i open my sight, www.blockwars.trap17.com i get Parse error: syntax error, unexpected T_STRING
in /home/khalilo/public_html/index.php on line 6 I don't even have an index.php file O_o I have
a index.html its coding is: CODE <html> <head> <title></title>
</head> <body bgcolor= black> <font color=red>welcome</font>
</body> </html> but why isn't it being opened O_o?...
I Have A Question About Where To Put My Html.
- (6)
yeah i'm hosting a sit on her but i'm completely lost on how this stuff works can someone
tell me where i would put the html?? or just how i would go about making the site work with stuff
acutally on it.. please i'm in desparate need of help....
Php Nuke Index Shows Blank Page
- php nuke problem (2)
hey i have just get hosting a few days ago but what is this problem i uploaded nuke 7.6
r3load.trap17.com/index.php but i cant able to see any thing in explorer how can i fix this problem
is there any security on by default .... please told me i am new here... ? Topic title modified. ...
Free T17 Domains - Do They Support Subdomains?
- (4)
Hi! i have a question about the free domains available, do they support subdomains, like can i
have sub.site.com for free? I would obviously register site.com first and then how would i get the
subdomain there? through cpanel maybe?...
Changing Index\main Page [resolved]
- The default index wont go away (5)
My default index from trap17 wont go away. I went to file manager and replaced the index.html file
with my own index.html, but the main page wont change. What am I doing wrong?...
Index Page
- (6)
how do i create an index page so that i can have links on the side to different parts of my site?...
Still showing the default index page after FTP upload
- (4)
Hey, i need a little help. I just got my account. I uploaded the index.html file using an ftp, but
when i try going on my page, it still shows the default page. How do i fix this?...
Pointing Domains To Diffrent Directories Or Subdomains
- with Masking - Domain issues (6)
Okay guys, I'm having a bit of a problem regarding my website and domains. Basically, I have
about 6 domains...I want 3 or 4 of them to go to my main site (a blog), and the other 2 to go to
another directory of the site (a graphics forum), so I've been trying to set up my cpanel to be
able to do this. The current setup is like this: plusone.trap17.com -- my blog
plusone.trap17.com/forums or forums.plusone.trap17.com-- graphics forum As an example, I have these
two domains registered: jrockett.info plusoneconcepts.info and I want them to direct like this: j...
Help With Webhosting
- index.html? (4)
I need help with my webhosting. Whenever I access http://portal.trap17.com , this comes up: QUOTE
Welcome to your Hosting Account! This site is currently Hosted at trap17.com If you are
seeing this message then it means that your site is up and your account is functioning properly.
Please see to it that you do the following steps before you continue :- 1. Login to your cpanel
by typing, http://yoursite.com/cpanel . 2. Enter the userID and Password. (check your PM at the
Forums or your requested post) 3. Change the Email address in your Cpanel. (u...
Subdomain Can Got The Independent Ns?
- about the subdomain's NS (1)
subdomain can got the independent NS? i just wanna that if the subdomain can got the different
independent NS from the tl domain. you know,like "yourname.com" got the NS like ns1.trap17.com,and
you can change it just depends your expect. but if "subname.yourname.com" can got independent
(different) NS ?(not the ns1.trap17.com) i just know(not exactly) if you using everydns's
service or afraid.org,you may be add NS record for subdomain,but i don't know if it actually
work. And on .yi.org's service you also can add NS record for your "yourname.yi.org" doma...
Public_html Or Www Folder?
- Where to put web files? (5)
heh..im kind of new to this..but where to i put my pages that i want to show up? like in...
public_html www ??? plz help hehe Naming your topic title carefully would and will help
other members in the future. Please take topic title and description seriously. ...
Diffrent Error Pages
- for diffrent subdomains (4)
Okay, I'm not sure this is the right place for this message, but I was wondering if I can have
diffrent error messages for diffrent subdomains, so mysite.trap17.com/a_file_that_isnt_real, would
yield one error page, where as secondpage.mysite.trap17.com/a_file_that_isn't_real would yeild a
diffrent 404 page?...
Help With Html Code
- Feedback Form (12)
I have this HTML Code: QUOTE All comments and suggestions about this web site are very
welcome and a valuable source of information for us. Thanks! Your Name:
Your Email: Message: However, a problem that I
have is the fact that I dont know how to set up the code to send it to an Email address. I am not
that good with HTML Coding and would be grateful for assistance in setting this up. Thank you....
Public_html Or Www Problem
- Site won't show up. (7)
I've got a problem with my site. When I'm copying it in www folder and trying to look
I've got only cpanel's error : There is no website configured at this address. So I thought
that I need to copy my site in public_html folder and when I'm copying my site there I still got
the same problem! Then I tried with "fantastico" to install nuke PHP. Instalation was completed
succesfully but when I'm trying to get on my nuke It shows me the same : There is no website
configured at this address. I'm hosting with mine domain... So where I must "co...
Index.html
- How do you do it? (4)
I know this is soO strange but when i upload my index.html what do i do after wards to make it my
index.html for my website? i know i should know this but im kinda what people would call an IDIOT
lol help me please......
Enabling Html At A Phpbb
- Can't get it going ... (7)
I think I' ve done everything by the book. It was allowed on the forum ACP, it is allowed by
user, it seems to be allowed on the posting form, the tag list has been added at the ACP, the
preview accepts it , but the posts show the raw tags as part of the post. Is there anything else I
need to do? Does the Admin have to allow it? Is it dis-allowed for the trap17 free hosted accounts?
Your help is appreciated....
Html Body Background Tag Help
- (5)
I was just about finish with my new subsite AmazingRed when I notioced next to the update box is a
white line, which should be there. Anything think they can help me? The code.. CODE <body
background="http://www.pretty.trap17.com/red/bg1.jpg" leftmargin="0"
topmargin="0" rightmargin="0" bottommargin="0"> ...
Help With Changing A File
- my index.php to cmps_indes.php (8)
Can someone helpme please because I need to know how to change the default page from index.php to
cmps_index.php...
Is It Possible To Add Code To Phpbb
- Adding HTML & What Not (3)
I wanted to know if it is possible to add code to phpbb if so how. By adding code I mean adding html
so I could add stuff like affialiates and stuff like that. Thanks for your help. I also wanted to
know if that is allowed before anyone posts an answer, I figured it is if you leave the copyright
because it is open source....
Looking for indexing, subdomains, index, html, show
|
|
Searching Video's for indexing, subdomains, index, html, show
|
advertisement
|
|