473,473 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Please help with http headers

I have seen many posts here eschewing the use of META tags, advising
instead to use http headers.
I have no idea what they are or how to get to them, so I would
appreciate some help.

My specific problem is this: my server supports SSI, but does not
display the index.shtml file, instead just displaying a directory
listing. I have tried to have them change this, but tech support is an
oxymoron (with emphasis on moron). In the meantime, I have uploaded a
regular index.html file that redirects, via meta, immediately to my
index.shtml page, creating a seamless entry to the site. Of course I
know this "breaks" the Back button and doesn't work for some users.
Which is why I would like to mess with the http headers to either
redirect to the index.shtml page or to "fix" the server so it displays
the index.shtml page instead of a directory listing.

Using Delorie's header reader, I get this from my server:

HTTP/1.1 200 OK
Date: Thu, 27 Nov 2003 02:01:12 GMT
Server: Apache/1.3.26 (Unix)
Connection: close
Content-Type: text/html

Please tell me, what can I do to effect change?
Also, it should be noted that my .htaccess file (for 404) does not
seem to override theirs, if that matters at all....
Thanks!
Jul 20 '05 #1
2 1756
Sometime around Thu, 27 Nov 2003 02:14:48 GMT, Jane Withnolastname is
reported to have stated:

My specific problem is this: my server supports SSI, but does not
display the index.shtml file, instead just displaying a directory
listing.

Please tell me, what can I do to effect change?
Also, it should be noted that my .htaccess file (for 404) does not
seem to override theirs, if that matters at all....


Yes, it matters very much. If you can't use a .htaccess file, you are
pretty much stuffed. There really isn't much you can do except get them to
change it. Other than changing hosts, of course. Which from what you have
described would be my recommendation.

Run as far away as you can.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #2
Jane Withnolastname <Ja**********************@yahoo.com> wrote in
news:rr********************************@4ax.com:
I have seen many posts here eschewing the use of META tags, advising
instead to use http headers.
I have no idea what they are or how to get to them, so I would
appreciate some help.

My specific problem is this: my server supports SSI, but does not
display the index.shtml file, instead just displaying a directory
listing. I have tried to have them change this, but tech support is an
oxymoron (with emphasis on moron). In the meantime, I have uploaded a
regular index.html file that redirects, via meta, immediately to my
index.shtml page, creating a seamless entry to the site. Of course I
know this "breaks" the Back button and doesn't work for some users.
Which is why I would like to mess with the http headers to either
redirect to the index.shtml page or to "fix" the server so it displays
the index.shtml page instead of a directory listing.

Using Delorie's header reader, I get this from my server:

HTTP/1.1 200 OK
Date: Thu, 27 Nov 2003 02:01:12 GMT
Server: Apache/1.3.26 (Unix)
Connection: close
Content-Type: text/html

Please tell me, what can I do to effect change?
Also, it should be noted that my .htaccess file (for 404) does not
seem to override theirs, if that matters at all....
Thanks!


I know, this may not work, but ask them to provide you
with the Apache virtual host configuration for your site,
and any other Apache directives that affect your site.
For example, they may have disabled the use of .htaccess
files, or have used a different name, or only be allowing
some directives in .htaccess files.
Depending on how they have their servers setup, you might
be able to find, and read, the main Apache config file
to get the info yourself.
You could try using a DirectoryIndex directive in your
..htaccess file.

--
Dave Patton
Canadian Coordinator, the Degree Confluence Project
http://www.confluence.org dpatton at confluence dot org
My website: http://members.shaw.ca/davepatton/
Vancouver/Whistler - host of the 2010 Winter Olympics
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: fo | last post by:
Hi I want to add one other emailrecepient to my mail code and can't seem to get it wright. Could you please help. Here is the code is this lien correct <emerge@goldcoastrentals.com.au>\nX-Mailer:...
1
by: Will Stuyvesant | last post by:
There seems to be no XML parser that can do validation in the Python Standard Libraries. And I am stuck with Python 2.1.1. until my web master upgrades (I use Python for CGI). I know pyXML has...
12
by: Larry | last post by:
I found this basic PHP mailer with file attachment capability. It works just fine, but I want to add a CC: and BCC: to its output. I added the $cc & $bcc variables below, but unsure how to...
4
by: Anonymous | last post by:
Hello, I am generating a pdf file via some code. It takes approx. 30 secs to create the pdf and to show it to the user. During that time, I want to show a message like "Please Wait...". Ideally...
6
by: Bob | last post by:
Hi, I am new to using a web resource which is not a webservice and I am spinning my wheels with the webrequest class. I am trying to interact with a URI that has been given to me. It is say...
5
by: Mr Brown | last post by:
Hi, I have a div <div class="lrgBG">, followed by a footer div <div class="lrgFooter">. I have an image and a table in the lrgBG div, image is floating left and the table is floating right. the...
3
by: Admin.TalkPC | last post by:
Hi people, I have now spent far too much time on this small problem, I am hopefully going to hand it over to you guys that are cleverer than I in this respect. Problem. I need to get all...
1
by: CodeSeeker | last post by:
I have an application, which uses pop3 to read the messages from the mailbox, and it has been working fine for so many year. We recently have started changing this application to use java mail IMAP 4...
4
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.