DeveloperSide.NET Forums
December 14, 2019, 03:33:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can i use other web directories  (Read 7713 times)
0 Members and 1 Guest are viewing this topic.
heart2soul
Member
*
Posts: 3


View Profile
« on: March 29, 2007, 09:07:52 AM »

Hi
I have install the software and it works perfectly.
But when i try to use other directories like i have a "poll"
which has flash and php files in it and sql database but
its not working.

I have kept the directory in the "C:/www/poll"
how can i make it to work.

Please help
« Last Edit: March 29, 2007, 09:42:01 AM by heart2soul » Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: March 29, 2007, 12:42:18 PM »

Like this...

Code:
Alias /poll "/www/poll"

<Directory "/www/poll">
order allow,deny
allow from all

AddType text/html .php
AddHandler application/x-httpd-php .php
</Directory>
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
heart2soul
Member
*
Posts: 3


View Profile
« Reply #2 on: March 29, 2007, 03:15:04 PM »

Thanks for the reply...
But where will i add this coding


Alias /poll "/www/poll"

<Directory "/www/poll">
   order allow,deny
   allow from all

   AddType text/html .php
   AddHandler application/x-httpd-php .php
</Directory>
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #3 on: March 29, 2007, 05:20:01 PM »

\www\Apache22\conf\httpd.conf
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
heart2soul
Member
*
Posts: 3


View Profile
« Reply #4 on: April 01, 2007, 08:34:42 AM »

That means when ever i make a new site i have to put this coding in the appache22 right
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #5 on: April 01, 2007, 10:55:53 AM »

More or less. Every time you need to place a dir outside of webroot or create another site/domain with VirtualHosts.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!