iheanyi
iheanyi

Reputation: 424

Why do other people get a 404 on my website? (Using PHP on it)

So I have access to a hosting on a /www folder on my school's domain name, the problem is that only people on the school's network are able to reach that folder (which shouldn't happening, unless they have it restricted to VPN access only).

If that's the case, how would I go about modifying my .htaccess file to let outsiders access m y site or disable the VPN requirement? I remember fiddling with my htaccess file, that may have broke it but I dunno what happened. . . Any suggestions?

Upvotes: 1

Views: 94

Answers (1)

cegfault
cegfault

Reputation: 6632

Unless the restriction was originally in the .htaccess file, you will not be able to add outside access directly.

Requiring VPN access is something that is done on a network-level (not a folder or user level, which is what you are trying to do). This means you would have to ask the administrator to do this for you. I doubt you'll have access to modifying any firewall, proxy, or routing tables the school has set in place. Also, doing so may be illegal.

For a quick work-around, if you have access to a public folder, you can try adding symlink to your www directory. This is unlikely to work as (a) I doubt you have access to a public directory, and (b) schools usually disable FollowSymLinks in Apache

Upvotes: 1

Related Questions