Jump to content

b1

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

b1's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It would appear the problem was the name of the folder \"php\". Just my bad luck to pick the wrong one. I was running php as a CGI binary according to my htttpd.conf file I think. I set the folder name to \"a\" and my script worked, then set it to a whole lot of different names and they all worked, except \"php\". I think I\'m set for now. I\'m more interested in learning php than getting into the details of running a server. Hopefully I\'ll have no more problems. When I get to the point of setting my site up on a server I\'ll either just pay for it to be stored externally, or set up a linux box (it doesn\'t sound wise to use a windows based server). Thx for your help, and my apologies for my slow replies, I\'ve had the flu.
  2. How do you find out what the folder access permissions are? Is that the windows > properties sharing information? When I access the space my ISP has provided I use WSFTP and use the chmod settings - there are no such settings to adjust when using local folders. Perhaps if I just put a htaccess file into my php folder that will allow me to use WSFTP locally to change folder permissions?
  3. So what you\'re saying is that normally it should work for all directories regardless - no setting access rights for each folder etc. I guess that tells me something in itself. By the response to this post I\'d say this is a rare problem and therefore probably something specific to my machine, and nothing to do with httpd.conf file settings. All I can do is try reloading the program again; it didn\'t work the last time but I\'ll give it another go. If anyone has any ideas on how I could pinpoint the cause of the problem please post. Thx
  4. I want to test my php scripts on my computer so I have set up Apache 1.3.14 and php 4.0.5 using PHPTriad. If I put my .php files in the DocumentRoot <Directory \"/apache/htdocs\"> they work fine when I go to, for example, http://localhost/test.php in my browser. However, I need to create directories inside the root, but when I do any files in those directories are basically missing in action eg. going to http://localhost/php/test.php will give me the message \"The requested URL /php/test.php was not found on this server\". What do I need to do to get Apache to recognise new folders inside the root when they are created? I don\'t particularly want to use .htaccess files because I don\'t need to. I\'m assuming there\'s a setting in the httpd.conf file that I need to set, but what is it? I have copied what I think is the relevent portion of my httpd.conf file below. Basically it\'s all just default as PHPTriad set it up - I haven\'t changed anything \'cause I\'m not familiar with the file settings (slowly learning). Can anyone help? All I want to do is test my scripts. Although I can just test them all in the root things could get messy; and I need to create new directories for some tutorials I am working through. Any help appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.