FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-16-2011, 06:54 AM
Amrit Pal Pathak
 
Default Unable to browse /var/www/directory

Hey
*********** I have installed apache2.I tested it by making a test.php file in /var/www and then browsed to "localhost/test.php" and it is working well. I have a directory in /var/www but i am unable to browse to it.When i browse to it ,browser shows only black page .


What may be wrong ?
Thanks in advance
amritpalpathak.blogspot.com

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 07:06 AM
Md Ashickur Rahman Noor
 
Default Unable to browse /var/www/directory

Have you make some php file in that new folder? Like index.php. If you not done it then make a file input some content on it then browse it like localhost/folderName.----------------------------------------------------------


Dedicated Linux Forum in Bangladesh
Follow Me Twiter


Thank you
Md Ashickur Rahman





On Sat, Jul 16, 2011 at 12:54 PM, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:


Hey
*********** I have installed apache2.I tested it by making a test.php file in /var/www and then browsed to "localhost/test.php" and it is working well. I have a directory in /var/www but i am unable to browse to it.When i browse to it ,browser shows only black page .




What may be wrong ?
Thanks in advance
amritpalpathak.blogspot.com


--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 07:35 AM
Amrit Pal Pathak
 
Default Unable to browse /var/www/directory

On Sat, Jul 16, 2011 at 7:06 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:

Have you make some php file in that new folder? * * ** It already have a file name with index.php with some contents.Still browsing didn't working.I am unable to browse it.
Strange!!


Thanks

amritpalpathak.blogspot.com
*

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 07:49 AM
Md Ashickur Rahman Noor
 
Default Unable to browse /var/www/directory

What does it says? have you change folder permission using chmod?----------------------------------------------------------
Dedicated Linux Forum in Bangladesh


Follow Me Twiter
Thank you
Md Ashickur Rahman





On Sat, Jul 16, 2011 at 1:35 PM, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:




On Sat, Jul 16, 2011 at 7:06 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:



Have you make some php file in that new folder? * * ** It already have a file name with index.php with some contents.Still browsing didn't working.I am unable to browse it.
Strange!!




Thanks

amritpalpathak.blogspot.com
*


--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 01:09 PM
Amrit Pal Pathak
 
Default Unable to browse /var/www/directory

On Sat, Jul 16, 2011 at 3:49 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:

What does it says? have you change folder permission using chmod?* * * * Actually sir i am downloading that directory first from server and then coping it to /var/www through bash scripting.Yes permission has been changed.Following is the code.please see and tell me what went wrong.

**sudo wget http:/server-name/GNDEC-SMS-Service.tar.gzsudo chmod 777 -R /var/www/sudo mv GNDEC-SMS-Service.tar.gz /var/www/
cd /var/www/sudo tar -zxvf *GNDEC-SMS-Service.tar.gz
sudo chmod 777 GNDEC-SMS-Service
Thanks for support !!amritpalpathak.blogspot.com*
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 01:17 PM
Md Ashickur Rahman Noor
 
Default Unable to browse /var/www/directory

use this sudo chmod 777 -Rf GNDEC-SMS-Service code instead sudo chmod 777 GNDEC-SMS-Service
try if it works then fine, else inform us.----------------------------------------------------------


Dedicated Linux Forum in Bangladesh
Follow Me Twiter


Thank you
Md Ashickur Rahman





On Sat, Jul 16, 2011 at 7:09 PM, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:


sudo chmod 777 GNDEC-SMS-Service

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 02:31 PM
Amrit Pal Pathak
 
Default Unable to browse /var/www/directory

On Sat, Jul 16, 2011 at 9:17 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:

use this sudo chmod 777 -Rf GNDEC-SMS-Service code instead sudo chmod 777 GNDEC-SMS-Service
try if it works then fine, else inform us.Well i tried it too but still "http://localhost/GNDEC-SMS-Service/" didn't work.Again black page is there with no contents.

*
* * Thanks Sir
* * amritpalpathak.blogspot.com


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 02:39 PM
Md Ashickur Rahman Noor
 
Default Unable to browse /var/www/directory

Can you give me the link of that .gz file. I need to test it. Coz should work fine after the permission change. or make a page like <?phpinfo();?> and open it using localhost. See the configaration of php and apache is ok or not.

----------------------------------------------------------
Dedicated Linux Forum in Bangladesh
Follow Me Twiter


Thank you
Md Ashickur Rahman





On Sat, Jul 16, 2011 at 8:31 PM, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:




On Sat, Jul 16, 2011 at 9:17 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:



use this sudo chmod 777 -Rf GNDEC-SMS-Service code instead sudo chmod 777 GNDEC-SMS-Service
try if it works then fine, else inform us.Well i tried it too but still "http://localhost/GNDEC-SMS-Service/" didn't work.Again black page is there with no contents.



*
* * Thanks Sir
* * amritpalpathak.blogspot.com



--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 02:42 PM
Amrit Pal Pathak
 
Default Unable to browse /var/www/directory

On Sat, Jul 16, 2011 at 10:39 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:

Can you give me the link of that .gz file. I need to test it. Coz should work fine after the permission change. * ** Link is
* **
sudo wget http://202.164.53.116/~amritpal/GNDEC-SMS-Service.tar.gz

* Test it at your system.
or make a page like <?phpinfo();?> and open it using localhost. See the configaration of php and apache is ok or not.
Yes this part is ok** Thanks

* amritpalpathak.blogspot.com


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2011, 03:39 PM
Md Ashickur Rahman Noor
 
Default Unable to browse /var/www/directory

It is working for me. But Database error. I just rename the folder and it work's.----------------------------------------------------------
Dedicated Linux Forum in Bangladesh


Follow Me Twiter
Thank you
Md Ashickur Rahman





On Sat, Jul 16, 2011 at 8:42 PM, Amrit Pal Pathak <amritpalpathak1@gmail.com> wrote:




On Sat, Jul 16, 2011 at 10:39 AM, Md Ashickur Rahman Noor <ashickur.noor@gmail.com> wrote:



Can you give me the link of that .gz file. I need to test it. Coz should work fine after the permission change. * ** Link is
* **
sudo wget http://202.164.53.116/~amritpal/GNDEC-SMS-Service.tar.gz



* Test it at your system.
or make a page like <?phpinfo();?> and open it using localhost. See the configaration of php and apache is ok or not.


Yes this part is ok** Thanks

* amritpalpathak.blogspot.com



--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 03:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org