Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Have htdocs/site/ show up at root Post 302226810 by kumakuma on Wednesday 20th of August 2008 02:17:32 AM
Old 08-20-2008
Almost 100% solved!

That's what I was looking for! Thank you very much!

I added the following to my httpd.conf file to test this out:

<VirtualHost *>
ServerAdmin webmaster@mysite.com
DocumentRoot /Applications/MAMP/public_html/someFolder
ServerName localhost
</VirtualHost>

When I visited http://localhost, the index.html file in public_html/someFolder showed up! Thanks again for your help!

However, then I added the following folder and file: public_html/anotherFolder/index.html. When I tried to visit localhost/anotherFolder/index.html, I got a 404 error. Can't other files be served out of the public_html root? I also placed some links in the index.html file residing in someFolder to files nested within someFolder, and those weren't found either...

Last edited by kumakuma; 08-20-2008 at 03:38 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

2. IP Networking

port access to site to site VPN

Setup a site to site VPN between two cisco routers. One of the site locations is unable to access ports such as https://example.com:9001 How do I let them go into port 9001? They can ssh, ftp, telnet and everything else. Is this a VPN issue or ACL access issue? I put permit ip host... (0 Replies)
Discussion started by: photon
0 Replies

3. Solaris

Non-Root mode ... luxadm to show path(s) for Disks

Hi Gurus out there... I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host. "luxadm display" seems very appropriate, but requires root access. Is there anyway I can get the FC path information? ... (1 Reply)
Discussion started by: verisund
1 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. IP Networking

How to establish site to site vpn - Linux machine and cisco asa?

Hi, I am trying to establish vpn between my linux server and cisco asa at client side. I installed openswan on my cent os. Linux Server eth0 - 182.2.29.10 Gateway - 182.2.29.1 eth1 - 192.9.200.75 I have simple IPtables Like WAN="eth0" LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies

6. UNIX for Dummies Questions & Answers

Why doesn't motd show up when I su to root?

When I do sudo -i isn't that like creating a root login shell session? Why isn't motd displayed? motd=message of the day. ---------- Post updated at 09:54 AM ---------- Previous update was at 09:25 AM ---------- I think I answered it myself, it is only called for remote login sessions, once... (2 Replies)
Discussion started by: glev2005
2 Replies

7. Shell Programming and Scripting

Find users with root UID or GID or root home

I need to list users in /etc/passwd with root's GID or UID or /root as home directory If we have these entries in /etc/passwd root:x:0:0:root:/root:/bin/bash rootgooduser1:x:100:100::/home/gooduser1:/bin/bash baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies

8. IP Networking

Does cisco 1921 router support site to site VPNs using IPSec?

Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? " A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Discussion started by: Ayaerlee
0 Replies

9. IP Networking

IPSec Openswan Site to Site VPN - Big Pain

Hi @all, I try to connect 2 LANs with IPSec/Openswan LAN 1: 192.168.0.0/24 LAN 2: 192.168.1.0/24 This is my Config: conn HomeVPN # # Left security gateway, subnet behind it, nexthop toward right. left=192.168.1.29 ... (1 Reply)
Discussion started by: bahnhasser83
1 Replies

10. What is on Your Mind?

The square root code I coded on this site...

Hi all, (mainly Neo)... I keep noticing that the SQRT code I wrote recently for a POSIX shell keeps appearing, (the green colour sticks out like a sore thumb). So I decided to take a look on Google. Guess what? UNIX.COM comes first in Google's listing just from two words, see image... (2 Replies)
Discussion started by: wisecracker
2 Replies
BLAZE-INIT(1)						    BlazeBlogger Documentation						     BLAZE-INIT(1)

NAME
blaze-init - creates or recovers a BlazeBlogger repository SYNOPSIS
blaze-init [-fqV] [-b directory] blaze-init -h|-v DESCRIPTION
blaze-init either creates a fresh new BlazeBlogger repository, or recovers an existing one in case it is corrupted. Optionally, it can also revert a configuration and default templates to their original state, leaving all user data (that is, both blog posts and pages) intact. OPTIONS
-b directory, --blogdir directory Allows you to specify a directory in which the BlazeBlogger repository is to be blaced. The default option is a current working directory. -f, --force Reverts existing configuration, theme, and language files to their initial state. By default, these files are kept intact. -q, --quiet Disables displaying of unnecessary messages. -V, --verbose Enables displaying of all messages, including a list of created files. -h, --help Displays usage information and exits. -v, --version Displays version information and exits. EXAMPLE USAGE
Create a new blog in a current directory: ~]$ blaze-init Created a BlazeBlogger repository in .blaze. Create a new blog in ~/public_html: ~]$ blaze-init -b ~/public_html Created a BlazeBlogger repository in /home/joe/public_html/.blaze. Revert a configuration file and default templates to their initial state: ~]$ blaze-init -f Recovered a BlazeBlogger repository in .blaze. Or if you want to see what files have been reverted: ~]$ blaze-init -fV Created .blaze/config Created .blaze/theme/default.html Created .blaze/style/default.css Created .blaze/lang/en_US Recovered a BlazeBlogger repository in .blaze. SEE ALSO
blaze-config(1), blaze-add(1) BUGS
To report a bug or to send a patch, please, add a new issue to the bug tracker at <http://code.google.com/p/blazeblogger/issues/>, or visit the discussion group at <http://groups.google.com/group/blazeblogger/>. COPYRIGHT
Copyright (C) 2008-2011 Jaromir Hradilek This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Version 1.2.0 2012-03-05 BLAZE-INIT(1)
All times are GMT -4. The time now is 12:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy