Welcome Guest!
Please login
If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:
- Receive Fast Advice
- Learn Programming Languages
- Get Professional Website Reviews
- Quick Troubleshooting Assistance
|
|
.htaccess Files And A Windows Server
This is a discussion on .htaccess Files And A Windows Server, within the Beginners' Questions section. This forum and the thread ".htaccess Files And A Windows Server" are both part of the Designing Your Website category.
![]() ![]() |
May 1 2008, 09:29 PM
Post
#1
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Members Posts: 206 Joined: 15-February 08 From: Plymouth Member No.: 153 |
Heya
I'm having a slight disagreement with my webserver and it's winning. I've put an .htaccess file with CODE AddHandler server-parsed .html added to it. However, it still won't display my little SSI.So, the question is, am I doing something wrong again, or doesn't Windows allow you to change the file, or does it just ignore the file? Thank you in advance -------------------- QUOTE I'm challenged enough without any extra weirdness in my life! |
|
|
May 1 2008, 10:08 PM
Post
#2
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Mentor Posts: 223 Joined: 14-February 08 From: NY, USA Member No.: 127 |
Hi!
So are you using Apache or IIS on the windows server? IIS doesn't use .htaccess files, which may be your problem. Rich -------------------- |
|
|
May 1 2008, 10:36 PM
Post
#3
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Members Posts: 206 Joined: 15-February 08 From: Plymouth Member No.: 153 |
Hi! So are you using Apache or IIS on the windows server? IIS doesn't use .htaccess files, which may be your problem. Rich Heya Microsoft Server Win2003/IIS 6.0 managed by Microsoft Certified Systems Engineers Should I be throwing myself on the floor screaming/kicking/flailing/crying yet? I did try to create a php include, named the page index.php and it wasn't happy. I got scared and went back to something that I knew worked before... only to have it pitch a fit! Is this really bad??!!?? Do I need to get the helmet out of the bag?? This post has been edited by Popje: May 1 2008, 10:45 PM -------------------- QUOTE I'm challenged enough without any extra weirdness in my life! |
|
|
May 1 2008, 11:24 PM
Post
#4
|
|
![]() Don deluzione ![]() ![]() ![]() ![]() ![]() ![]() Group: Team Leaders Posts: 1,006 Joined: 13-February 08 From: Canada eh? Member No.: 7 |
I try to avoid Windows servers as much as I can. One reason is that they usually don't support .htaccess.
I'd try to migrate to a descent Linux server -------------------- |
|
|
May 2 2008, 01:08 AM
Post
#5
|
|
|
Rapid Squeezer ![]() ![]() ![]() ![]() Group: Advisors Posts: 275 Joined: 15-February 08 From: Finland Member No.: 139 |
Nothing wrong with Windows servers. Just a different environment than linux. If you're trying to get PHP working on IIS server, you may find this usefull: http://www.iis.net/php
-------------------- anttisimonen.com - .NET developer
anttis.wordpress.com - Blog |
|
|
May 2 2008, 10:20 AM
Post
#6
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Mentor Posts: 223 Joined: 14-February 08 From: NY, USA Member No.: 127 |
QUOTE Do I need to get the helmet out of the bag?? Well, not just yet, but keep it close! So, you're basically trying to make OJ by squeezing lemons. IIS doesn't natively support PHP, which is why you can't include() the file. As for the <!-- #include -->, you may not have ASP turned on, which is why it's not working? I haven't used IIS or ASP in years. What's the story? Is this on your local machine or is this on a host somewhere? Rich -------------------- |
|
|
May 2 2008, 12:13 PM
Post
#7
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Members Posts: 206 Joined: 15-February 08 From: Plymouth Member No.: 153 |
Nothing wrong with Windows servers. Just a different environment than linux. If you're trying to get PHP working on IIS server, you may find this usefull: http://www.iis.net/php Thanks for this, it makes for really interestingreading. However, to be honest, it appears to be way to advanced for me to try to set up right now! I'm a total beginner and I'd get into serious trouble if I messed up the server for the site. My boss would string me up, even if he is my brother in law!! This post has been edited by Popje: May 2 2008, 03:33 PM -------------------- QUOTE I'm challenged enough without any extra weirdness in my life! |
|
|
May 2 2008, 12:25 PM
Post
#8
|
|
|
Rapid Squeezer ![]() ![]() ![]() ![]() Group: Advisors Posts: 275 Joined: 15-February 08 From: Finland Member No.: 139 |
Usually if you need just php (mysql) it's better to go with linux/apache and if you plan to go with asp(.net) (ms sql server) then choose windows. I've had also some problems with iis/php combination so choose the platform based on what you need.
-------------------- anttisimonen.com - .NET developer
anttis.wordpress.com - Blog |
|
|
May 2 2008, 03:40 PM
Post
#9
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Members Posts: 206 Joined: 15-February 08 From: Plymouth Member No.: 153 |
Well, not just yet, but keep it close! So, you're basically trying to make OJ by squeezing lemons. IIS doesn't natively support PHP, which is why you can't include() the file. As for the , you may not have ASP turned on, which is why it's not working? I haven't used IIS or ASP in years. What's the story? Is this on your local machine or is this on a host somewhere? Rich <-- it's out of the bag and next to me on the table as I type!It's hosted, here's a screenshot of the control panel settings for ASP: ![]() I've tried the Repair settings thing, but still get the 500 Internal Server Error. It's taunting me!!! OJ from lemons *sigh* story of my life right now! If I can't use SSI, or PHP - basically I can't have repeat information (header, menu and footer) inserted can I? Bummer. -------------------- QUOTE I'm challenged enough without any extra weirdness in my life! |
|
|
May 2 2008, 04:53 PM
Post
#10
|
|
![]() Don deluzione ![]() ![]() ![]() ![]() ![]() ![]() Group: Team Leaders Posts: 1,006 Joined: 13-February 08 From: Canada eh? Member No.: 7 |
<-- it's out of the bag and next to me on the table as I type!It's hosted, here's a screenshot of the control panel settings for ASP: ![]() I've tried the Repair settings thing, but still get the 500 Internal Server Error. It's taunting me!!! OJ from lemons *sigh* story of my life right now! If I can't use SSI, or PHP - basically I can't have repeat information (header, menu and footer) inserted can I? Bummer. [off topic] which FF plugin is that for your musicplayer? [/off topic] -------------------- |
|
|
May 2 2008, 06:10 PM
Post
#11
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Members Posts: 206 Joined: 15-February 08 From: Plymouth Member No.: 153 |
[off topic] which FF plugin is that for your musicplayer? [/off topic] [off topic] it's Foxy Tunes - now everyone can see I was listening to Scissor Sisters at the time!! I forgot about that![/offtopic] This post has been edited by Popje: May 2 2008, 06:11 PM -------------------- QUOTE I'm challenged enough without any extra weirdness in my life! |
|
|
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
9 | 4lun | 228 | 22nd February 2008 - 01:27 PM Last post by: thesealportalteam |
|||
![]() |
8 | Mark | 456 | 10th March 2008 - 04:33 PM Last post by: Jacob |
|||
![]() |
4 | Monie | 312 | 20th June 2008 - 02:48 AM Last post by: 4lun |
|||
![]() |
3 | Mark | 131 | 1st April 2008 - 08:47 AM Last post by: JustinStudios |
|||
![]() |
10 | unitedcraig | 236 | 18th April 2008 - 03:14 PM Last post by: paintingtheweb |
|||






May 1 2008, 09:29 PM







<-- it's out of the bag and next to me on the table as I type!


