hatem_from_mesr
asked on
where is the web server root for python using django
hi all,
I have installed python 3.x and tried to install django but the metho using setup.py failed so I used the manual method which is copying the django directory to the python 2.4/lib/site-packages
now I don't know where is my web server root directory? please tell me
best regards
hatem gamal
I have installed python 3.x and tried to install django but the metho using setup.py failed so I used the manual method which is copying the django directory to the python 2.4/lib/site-packages
now I don't know where is my web server root directory? please tell me
best regards
hatem gamal
Neither Python nor Django is a webserver. The document root is a function of your webserver. You must either be using Apache, or Tomcat, or Lighthttpd for this.
ASKER
hi kblack05,
lets say it's apache can you please guide what to do or send me a book name that explain in details if it's tutorial it would be perfect
best regards
hatem gamal
lets say it's apache can you please guide what to do or send me a book name that explain in details if it's tutorial it would be perfect
best regards
hatem gamal
Hi there Hatem,
If it were apache, often times the document root is /var/www/html. This will be controlled by httpd.conf if it is in fact apache.
If it is in fact apache, and you have root access to the system, try this command:
httpd -S
If it were apache, often times the document root is /var/www/html. This will be controlled by httpd.conf if it is in fact apache.
If it is in fact apache, and you have root access to the system, try this command:
httpd -S
ASKER
[hatem@localhost ~]$ su -
Password:
[root@localhost ~]# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:8443 localhost.localdomain (/etc/httpd/conf.d/nss.con f:73)
_default_:443 localhost.localdomain (/etc/httpd/conf.d/ssl.con f:81)
Syntax OK
[root@localhost ~]#
Password:
[root@localhost ~]# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:8443 localhost.localdomain (/etc/httpd/conf.d/nss.con
_default_:443 localhost.localdomain (/etc/httpd/conf.d/ssl.con
Syntax OK
[root@localhost ~]#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for trying to help