Re: [users@httpd] Possible Configuration Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I started this a couple of weeks ago and I am now working on it.  I load up the html file into my browser and it shows up fine.  I click the button that launches the php file and I get error code 403:  You don't have permission to access /ââ?¬Â?c:/program on this server.  I can load the *.php file into the browser, but I cannot link to it through another page.  Any help is appreciated.  Thanks!

Here is what I have in my Apache Config File:
<virtualHost 127.0.0.1:80>
    DocumentRoot "/Program Files/Apache Group/Apache2/htdocs"
</virtualHost>

Here is my html code:
<form action="" Files/apache group/apache2/htdocs/processorder.phpâ?? method= "post">
<table border = â??0â??>
<tr bgcolor = â??#ccccccâ??>
    <td width = â??150â?? >Item</td>
    <td width = â??15â??>Quantity</td>
</tr>
<tr>
    <td>Tires</td>
    <td align = â??centerâ??><input type = â??textâ?? name = â??tireqtyâ?? size = â??3â??
        Maxlength=â??3â?? /></td>
</tr>
<tr>
    <td>Oil</td>
    <td align = â??centerâ??><input type = â??textâ?? name = â??oilqtyâ?? size = â??3â??
        Maxlength=â??3â?? /></td>
</tr>
<tr>
    <td>Spark Plugs</td>
    <td align = â??centerâ??><input type = â??textâ?? name = â??sparkqtyâ?? size = â??3â??
        Maxlength=â??3â?? /></td>
</tr>
<tr>
    <td colspan = "2" align="center"><input type="submit" value="Submit Order" /></td>
</tr>
</table>
</form>

Victor Trac <victor.trac@xxxxxxxxx> wrote:
Are both the original and linked to PHP/HTML files in the
VirtualHost's DocumentRoot directive? For example, if you have:


...
DocumentRoot "/var/www/html"
...


and your original file is /var/www/html/index.php, and you are trying
to link to /var/www/php/page2.php, it is going to not allow you to
access it. Post your VirtualHost directives and the full paths to
your files if this does not work.

-Victor

On 2/7/06, George Moureau wrote:
> I'd love to see the answer to this one, I keep getting the same thing, only
> when simply trying to access other html files in the same directory....
>
>
> George Moureau
> george@xxxxxxxxxxxxxxxxxx
> (706) 377-3360
>
>
>
>
> On Feb 6, 2006, at 11:05 PM, Carl Maloney wrote:
> I am a ultra beginner with Apache/PHP. I got the server up and running. I
> can load up any html page/php file from my browser. I started a html file
> that has a "submit" button that is suppose to launch a *.php file. When I
> press the button, I first got Error Message: 404, File not found. In the
> html file I added the file directory to the file name, Pressed the "submit"
> button and got Error Message 403: YOu don't have permission to access / on
> this server. Any ideas?
>
> ________________________________
> Brings words and photos together (easily) with
> PhotoMail - it's free and works with Yahoo! Mail.
>

---------------------------------------------------------------------
The of ficial User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




What are the most popular cars? Find out at Yahoo! Autos
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux