473,766 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
+ 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 1774
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************ **********@yaho o.com> wrote in
news:rr******** *************** *********@4ax.c om:
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
2133
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: PHP/" . phpversion()); Many thanks FO -------------- blah blah ...
1
6059
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 validating parsers, but I can not compile things on the (unix) webserver. And even if I could, the compiler I have access to would be different than what was used to compile python for CGI. I need to write a CGI script that does XML validation...
12
21178
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 implement the rest. Can someone please help? Thank you - LM <html> <head> <title> Sending Email </title> </head> <body>
4
2054
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 I would like to show only this message in some kind of messagebox and show the pdf page only when the processing has been finished. However I dont know how to do that. What I tried was the following:
6
2474
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 www.bloggs.com/cgi-bin/thin-client" My app gathers data and is supposed to pass this data to the URI which will then respond with a result. So some real basic questions. 1)They have given me a user name and password to use.
5
4518
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 problem is, which you can see below is that in firefox the lrgBG div doesn't seem to be holding the IMG & Table, and not expanding to the height of them. this is what i need help with please. Looks correct in IE allthough CSS is wrong...
3
2437
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 firms in a certain postal code area (say "E1") from the FSA website. I can do this interactively, but I thought I would save time and automate it. Big mistake, I have taken hours investigating an so far failed to get the second search results
1
2924
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 instead of Pop3. Primary reason for that :- Is we want to better meet out SLA, so we have decided to go with the 2 instances of this application, and hence decided to use IMAP4 to concurrently accessing the mailboxes via IMAP4. My issues:- Now...
4
6339
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 Notice: Undefined index: args in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92 Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10008
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5279
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.