LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2015, 02:10 AM   #1
sandykrishn1988
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Rep: Reputation: Disabled
Problem with http


Hi Everyone,
I am having problem with httpd. I am not able to access my alias directory. I have edited httpd.conf regarding that directory.

Alias /twiki/ /var/www/twiki/
<Directory "/var/www/twiki">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

When I restarted the service it is working fine. But I am unable to access the directory.
 
Old 08-31-2015, 05:40 AM   #2
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by sandykrishn1988 View Post
Hi Everyone,
I am having problem with httpd. I am not able to access my alias directory. I have edited httpd.conf regarding that directory.

Alias /twiki/ /var/www/twiki/
<Directory "/var/www/twiki">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

When I restarted the service it is working fine. But I am unable to access the directory.
What exactly is the error message? Have a look in your access.log and error.log. What are the permissions in /var/www/twiki?

ls -la /var/www/twiki

If Apache uses /var/www as the DocumentRoot, then you don't need to set this alias...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
How to block HTTP requisitions with invalid/blank http referer field brgsousa Linux - Software 2 10-18-2010 02:49 PM
Apache: Change http://localhost to http://www.mywebsite.com mlandvo Linux - Server 1 08-12-2010 08:47 AM
[SOLVED] Adding package sources fails saying "http://http not found skykooler Ubuntu 2 07-02-2010 09:32 AM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration